diff --git a/public/content.css b/public/content.css index 23e531d664..57be071bfe 100644 --- a/public/content.css +++ b/public/content.css @@ -107,6 +107,10 @@ div:hover > #previewbar.sbNotInvidious { transform: translateY(-1em) !important; } +.ytp-tooltip.sponsorCategoryTooltipVisible { + transform: translateY(-1em) !important; +} + .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips { transform: translateY(-2em) !important; } @@ -145,17 +149,17 @@ div:hover > #previewbar.sbNotInvidious { } .ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips > .ytp-tooltip-text-wrapper { - transform: translateY(1em) !important; + transform: translateY(1.75em) !important; } -.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper > .ytp-tooltip-text { - display: block !important; - transform: translateY(1em) !important; +.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible > .ytp-tooltip-text-wrapper .ytp-tooltip-text { + display: inline-block !important; + transform: translateY(0.75em) !important; } -.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips > .ytp-tooltip-text-wrapper > .ytp-tooltip-text { - display: block !important; - transform: translateY(2em) !important; +.ytp-big-mode .ytp-tooltip.sponsorCategoryTooltipVisible.sponsorTwoTooltips > .ytp-tooltip-text-wrapper .ytp-tooltip-text { + display: inline-block !important; + transform: translateY(0.75em) !important; } div:hover > .sponsorBlockChapterBar { @@ -184,6 +188,10 @@ div:hover > .sponsorBlockChapterBar { margin: auto; } +.sbChapterVoteButton { + padding: 0 !important; +} + .playerButton { vertical-align: top; } @@ -748,6 +756,13 @@ input::-webkit-inner-spin-button { cursor: pointer; display: flex; color: white; + align-items: center; +} + +/* July 2025 test UI */ +.ytp-delhi-modern .skipButtonControlBarContainer { + height: 48px; + margin: auto 0; } .skipButtonControlBarContainer.sbhidden { @@ -957,5 +972,5 @@ input::-webkit-inner-spin-button { } .sponsorblock-chapter-visible { - display: inherit !important; + display: block !important; } \ No newline at end of file diff --git a/src/components/ChapterVoteComponent.tsx b/src/components/ChapterVoteComponent.tsx index eaafeaa1b4..3cbd0f967e 100644 --- a/src/components/ChapterVoteComponent.tsx +++ b/src/components/ChapterVoteComponent.tsx @@ -48,7 +48,7 @@ class ChapterVoteComponent extends React.Component this.vote(e, 1)}> - @@ -102,7 +102,7 @@ class ChapterVoteComponent extends React.Component diff --git a/src/content.ts b/src/content.ts index c88430dc23..3fecfdae4b 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1193,7 +1193,7 @@ async function sponsorsLookup(keepOldSubmissions = true, ignoreCache = false) { const receivedSegments = segmentData.segments; if (receivedSegments && receivedSegments.length) { - sponsorDataFound = true; + sponsorDataFound = receivedSegments.findIndex((segment) => getCategorySelection(segment).option !== CategorySkipOption.Disabled) !== -1; // Check if any old submissions should be kept if (sponsorTimes !== null && keepOldSubmissions) {