mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
Updated Watch On LBRY button style
This commit is contained in:
parent
4ab8fdce5e
commit
8f30825edd
1 changed files with 1 additions and 2 deletions
|
@ -62,7 +62,7 @@ export function WatchOnLbryButton({ targetPlatform = 'app', lbryPathname, time }
|
||||||
border: '0',
|
border: '0',
|
||||||
color: 'whitesmoke',
|
color: 'whitesmoke',
|
||||||
padding: '10px 16px',
|
padding: '10px 16px',
|
||||||
marginRight: '5px',
|
marginRight: '4px',
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
textDecoration: 'none',
|
textDecoration: 'none',
|
||||||
...buttonSetting.style?.button,
|
...buttonSetting.style?.button,
|
||||||
|
@ -86,7 +86,6 @@ async function findButtonMountPoint(): Promise<HTMLDivElement | void> {
|
||||||
const div = document.createElement('div');
|
const div = document.createElement('div');
|
||||||
div.style.display = 'flex';
|
div.style.display = 'flex';
|
||||||
div.style.alignItems = 'center'
|
div.style.alignItems = 'center'
|
||||||
div.style.justifyContent = 'center'
|
|
||||||
mountBefore.parentElement?.insertBefore(div, mountBefore)
|
mountBefore.parentElement?.insertBefore(div, mountBefore)
|
||||||
mountPoint = div
|
mountPoint = div
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue