Skip to content

Commit 9d0e42d

Browse files
committed
Fix second skip notice slot not working
1 parent 8496e32 commit 9d0e42d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

public/content.css

-5
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,6 @@ div:hover > .sponsorBlockChapterBar {
320320
padding-bottom: 7.8%;
321321
}
322322

323-
/* if two are very close to eachother */
324-
.secondSkipNotice {
325-
bottom: 290px;
326-
}
327-
328323
.noticeLeftIcon {
329324
display: flex;
330325
align-items: center;

src/components/NoticeComponent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
109109
mouseDownInfo: null,
110110
mouseMoved: false,
111111
right: bounds[0],
112-
bottom: bounds[1]
112+
bottom: props.showInSecondSlot ? 290 : bounds[1]
113113
}
114114
}
115115

0 commit comments

Comments
 (0)