From 8802b9c76f97b4d3d537ec3628b6c298ff169c70 Mon Sep 17 00:00:00 2001 From: Baraa Halabi <94146567+BaraaHalabiTr@users.noreply.github.com> Date: Sat, 18 Feb 2023 20:45:38 +0300 Subject: [PATCH] added margin for the dislike text (#808) Co-authored-by: Dmitrii Selivanov --- Extensions/combined/src/buttons.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Extensions/combined/src/buttons.js b/Extensions/combined/src/buttons.js index 6f27e8ef..8eeb5747 100644 --- a/Extensions/combined/src/buttons.js +++ b/Extensions/combined/src/buttons.js @@ -56,6 +56,7 @@ 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");