mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 02:41:22 +01:00
Revert "added margin for the dislike text (#808)"
This reverts commit 8802b9c76f.
This commit is contained in:
1 parent
8802b9c76f
commit
931006a00b
1 file changed
-1
@@ -56,7 +56,6 @@ function getDislikeButton() {
|
|||||||
|
|
||||||
function createDislikeTextContainer() {
|
function createDislikeTextContainer() {
|
||||||
const textNodeClone = getLikeButton().querySelector("button > div[class*='cbox']").cloneNode(true);
|
const textNodeClone = getLikeButton().querySelector("button > div[class*='cbox']").cloneNode(true);
|
||||||
textNodeClone.setAttribute("style", "margin-left: 1rem;");
|
|
||||||
const insertPreChild = getDislikeButton().querySelector("yt-touch-feedback-shape");
|
const insertPreChild = getDislikeButton().querySelector("yt-touch-feedback-shape");
|
||||||
getDislikeButton().querySelector("button").insertBefore(textNodeClone, insertPreChild);
|
getDislikeButton().querySelector("button").insertBefore(textNodeClone, insertPreChild);
|
||||||
getDislikeButton().querySelector("button").classList.remove("yt-spec-button-shape-next--icon-button");
|
getDislikeButton().querySelector("button").classList.remove("yt-spec-button-shape-next--icon-button");
|
||||||
|
|||||||
Reference in new issue
Block a user