mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 19:50:12 +00:00
finetune button positioning and margin
This commit is contained in:
parent
9528a347e0
commit
2cc5cfc17d
@ -122,7 +122,7 @@ function buildButtonDiv() {
|
|||||||
color: '#fff',
|
color: '#fff',
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
padding: '5px',
|
padding: '5px',
|
||||||
margin: '0 5px',
|
margin: '5px',
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
});
|
});
|
||||||
return buttonDiv;
|
return buttonDiv;
|
||||||
@ -268,8 +268,8 @@ function buildVideoButton(thumbContainer) {
|
|||||||
dlIcon.innerHTML = downloadIcon;
|
dlIcon.innerHTML = downloadIcon;
|
||||||
Object.assign(dlIcon.style, {
|
Object.assign(dlIcon.style, {
|
||||||
filter: 'invert()',
|
filter: 'invert()',
|
||||||
width: '20px',
|
width: '18px',
|
||||||
padding: '10px 13px',
|
padding: '7px 8px',
|
||||||
});
|
});
|
||||||
|
|
||||||
dlButton.appendChild(dlIcon);
|
dlButton.appendChild(dlIcon);
|
||||||
|
Loading…
Reference in New Issue
Block a user