mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-22 22:33:01 +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() {
|
||||
const textNodeClone = getLikeButton().querySelector("button > div[class*='cbox']").cloneNode(true);
|
||||
textNodeClone.setAttribute("style", "margin-left: 1rem;");
|
||||
const insertPreChild = getDislikeButton().querySelector("yt-touch-feedback-shape");
|
||||
getDislikeButton().querySelector("button").insertBefore(textNodeClone, insertPreChild);
|
||||
getDislikeButton().querySelector("button").classList.remove("yt-spec-button-shape-next--icon-button");
|
||||
|
||||
Reference in new issue
Block a user