Skip to content

Commit

Permalink
Fix onboarding box having scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Oct 30, 2024
1 parent 449d7b3 commit 3fb3fdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions public/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,10 @@ ytd-channel-video-player-renderer #title > a {
z-index: 10000;
}

.sponsorBlockTooltip.cbOnboarding {
max-width: 315px;
}

.sponsorBlockTooltip a {
color: white;
}
Expand Down
2 changes: 1 addition & 1 deletion src/videoBranding/onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function handleOnboarding(element: HTMLElement, videoID: VideoID,
displayTriangle: true,
center: true,
opacity: 1,
extraClass: "rightSBTriangle",
extraClass: "rightSBTriangle cbOnboarding",
elements: [
<FormattingOptionsComponent key={0}/>
]
Expand Down

0 comments on commit 3fb3fdb

Please sign in to comment.