aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2021-12-29 00:35:33 -0500
committerAjay <[email protected]>2021-12-29 00:35:33 -0500
commit12bc10ea1f48d9ecdf34cbb6f50b49b209ca247c (patch)
tree7bf98f08d0ac7792596aa54634e943e7fc818e91
parent2db19711900e0a87ee8cb97df2d8645375a24413 (diff)
downloadSponsorBlock-12bc10ea1f48d9ecdf34cbb6f50b49b209ca247c.tar.gz
SponsorBlock-12bc10ea1f48d9ecdf34cbb6f50b49b209ca247c.zip
Make youtube settings in front of skip notice
-rw-r--r--public/content.css5
-rw-r--r--src/components/SubmissionNoticeComponent.tsx2
2 files changed, 6 insertions, 1 deletions
diff --git a/public/content.css b/public/content.css
index bcc755ea..b9f19080 100644
--- a/public/content.css
+++ b/public/content.css
@@ -26,6 +26,11 @@
height: 100%;
}
+/* Make sure settings are upfront */
+.ytp-settings-menu {
+ z-index: 6000 !important;
+}
+
/* Preview Bar page hacks */
.ytp-tooltip:not(.sponsorCategoryTooltipVisible) .sponsorCategoryTooltip {
diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx
index 5b5bd005..82aa0cca 100644
--- a/src/components/SubmissionNoticeComponent.tsx
+++ b/src/components/SubmissionNoticeComponent.tsx
@@ -73,7 +73,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
idSuffix={this.state.idSuffix}
ref={this.noticeRef}
closeListener={this.cancel.bind(this)}
- zIndex={50000}>
+ zIndex={5000}>
{/* Text Boxes */}
{this.getMessageBoxes()}