mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Small changes
This commit is contained in:
parent
f2317caad2
commit
76db584daf
2 changed files with 10 additions and 1 deletions
|
@ -173,6 +173,13 @@ div.logoText>p, .recordingSubtitle {
|
|||
font-size: 19px;
|
||||
}
|
||||
|
||||
#mainControls > label > svg {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
|
||||
label>svg>path {
|
||||
fill: var(--sb-main-fg-color);
|
||||
}
|
||||
|
@ -225,6 +232,7 @@ label>svg, button#optionsButton>img, .logoText>img, #usernameValue {
|
|||
#usernameValue{
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 130px;
|
||||
}
|
||||
|
||||
#setUsername {
|
||||
|
|
|
@ -333,6 +333,7 @@ async function runThePopup(messageListener?: MessageListener) {
|
|||
if (response.value) {
|
||||
PageElements.whitelistChannel.style.display = "none";
|
||||
PageElements.unwhitelistChannel.style.display = "unset";
|
||||
PageElements.whitelistToggle.checked = true;
|
||||
document.querySelectorAll('label > svg')[0].classList.add("rotated");
|
||||
|
||||
PageElements.downloadedSponsorMessageTimes.innerText = chrome.i18n.getMessage("channelWhitelisted");
|
||||
|
@ -969,7 +970,7 @@ async function runThePopup(messageListener?: MessageListener) {
|
|||
PageElements.unwhitelistChannel.style.display = "unset";
|
||||
document.querySelectorAll('label > svg')[0].classList.add("rotated");
|
||||
|
||||
//if (!Config.config.forceChannelCheck) PageElements.whitelistForceCheck.style.display = "unset";
|
||||
//TODO if (!Config.config.forceChannelCheck) PageElements.whitelistForceCheck.style.display = "unset";
|
||||
|
||||
PageElements.downloadedSponsorMessageTimes.innerText = chrome.i18n.getMessage("channelWhitelisted");
|
||||
PageElements.downloadedSponsorMessageTimes.style.fontWeight = "bold";
|
||||
|
|
Loading…
Reference in a new issue