diff options
author | Alec Rust <[email protected]> | 2022-03-14 13:17:59 +0000 |
---|---|---|
committer | Alec Rust <[email protected]> | 2022-03-17 17:53:33 +0000 |
commit | c0cfa3a6837dce07f46ca6fa2e1672895b0e1336 (patch) | |
tree | f83d316c0d3a459d0f3049ef681fc3cd4a5c40de | |
parent | f7510eea88f345f365d63eb6d763c6c037aa28b1 (diff) | |
download | SponsorBlock-c0cfa3a6837dce07f46ca6fa2e1672895b0e1336.tar.gz SponsorBlock-c0cfa3a6837dce07f46ca6fa2e1672895b0e1336.zip |
Fix "You've saved" and "You've skipped" not being on separate lines
Screenshot: https://i.imgur.com/VqeXMmS.png
-rw-r--r-- | src/content.ts | 4 | ||||
-rw-r--r-- | src/popup.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/content.ts b/src/content.ts index 5987050b..1bf28424 100644 --- a/src/content.ts +++ b/src/content.ts @@ -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"); diff --git a/src/popup.ts b/src/popup.ts index df47d817..cbf92917 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -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. |