From 2cc5cfc17da6bbf52e9c5b2dbc180e9b62c26263 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 2 Mar 2023 17:58:56 +0700 Subject: [PATCH] finetune button positioning and margin --- extension/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extension/script.js b/extension/script.js index c9a511b..31fa741 100644 --- a/extension/script.js +++ b/extension/script.js @@ -122,7 +122,7 @@ function buildButtonDiv() { color: '#fff', fontSize: '14px', padding: '5px', - margin: '0 5px', + margin: '5px', borderRadius: '8px', }); return buttonDiv; @@ -268,8 +268,8 @@ function buildVideoButton(thumbContainer) { dlIcon.innerHTML = downloadIcon; Object.assign(dlIcon.style, { filter: 'invert()', - width: '20px', - padding: '10px 13px', + width: '18px', + padding: '7px 8px', }); dlButton.appendChild(dlIcon);