Skip to content

Commit

Permalink
Fix second skip notice slot not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Dec 22, 2023
1 parent 8496e32 commit 9d0e42d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions public/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,6 @@ div:hover > .sponsorBlockChapterBar {
padding-bottom: 7.8%;
}

/* if two are very close to eachother */
.secondSkipNotice {
bottom: 290px;
}

.noticeLeftIcon {
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion src/components/NoticeComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
mouseDownInfo: null,
mouseMoved: false,
right: bounds[0],
bottom: bounds[1]
bottom: props.showInSecondSlot ? 290 : bounds[1]
}
}

Expand Down

0 comments on commit 9d0e42d

Please sign in to comment.