mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Fix "You've saved" and "You've skipped" not being on separate lines
Screenshot: https://i.imgur.com/VqeXMmS.png
This commit is contained in:
@@ -1680,8 +1680,8 @@ function openInfoMenu() {
|
||||
const closeButton = document.createElement("button");
|
||||
const closeButtonIcon = document.createElement("img");
|
||||
closeButtonIcon.src = chrome.extension.getURL("icons/close.png");
|
||||
closeButtonIcon.width = 16;
|
||||
closeButtonIcon.height = 16;
|
||||
closeButtonIcon.width = 15;
|
||||
closeButtonIcon.height = 15;
|
||||
closeButton.appendChild(closeButtonIcon);
|
||||
closeButton.setAttribute("title", chrome.i18n.getMessage("closePopup"));
|
||||
closeButton.classList.add("sbCloseButton");
|
||||
|
||||
@@ -180,7 +180,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
|
||||
PageElements.sponsorTimesViewsDisplayEndWord.innerText = chrome.i18n.getMessage("Segment");
|
||||
}
|
||||
PageElements.sponsorTimesViewsDisplay.innerText = viewCount.toLocaleString();
|
||||
PageElements.sponsorTimesViewsContainer.style.display = "unset";
|
||||
PageElements.sponsorTimesViewsContainer.style.display = "block";
|
||||
}
|
||||
|
||||
showDonateWidget(viewCount);
|
||||
@@ -212,7 +212,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
|
||||
}
|
||||
|
||||
PageElements.sponsorTimesSkipsDoneDisplay.innerText = Config.config.skipCount.toLocaleString();
|
||||
PageElements.sponsorTimesSkipsDoneContainer.style.display = "unset";
|
||||
PageElements.sponsorTimesSkipsDoneContainer.style.display = "block";
|
||||
}
|
||||
|
||||
//get the amount of time this user has saved.
|
||||
|
||||
Reference in New Issue
Block a user