aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/content.css
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-07-14 17:55:55 -0400
committerAjay <[email protected]>2023-07-14 17:55:55 -0400
commitcee00a87c15f4a2e1eed145567ab4d6a561684f9 (patch)
tree76563fa599ccb704075a41598306706e9d7bda58 /public/content.css
parent9b627f4e8f95a2bacd570d8a57ff412a21174498 (diff)
downloadSponsorBlock-cee00a87c15f4a2e1eed145567ab4d6a561684f9.tar.gz
SponsorBlock-cee00a87c15f4a2e1eed145567ab4d6a561684f9.zip
Remove text from category pills on mobile and don't make them take full height of title box
Diffstat (limited to 'public/content.css')
-rw-r--r--public/content.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/public/content.css b/public/content.css
index ab8b8a02..830fcabd 100644
--- a/public/content.css
+++ b/public/content.css
@@ -198,6 +198,11 @@ div:hover > .sponsorBlockChapterBar {
float: left;
}
+#categoryPill .sbPillNoText .sponsorSkipLogo {
+ margin-top: calc(2.6rem - 18px);
+ margin-bottom: calc(2.6rem - 18px);
+}
+
@keyframes fadeIn {
from { opacity: 0; }
}
@@ -772,6 +777,14 @@ input::-webkit-inner-spin-button {
line-height: 1.5em;
}
+#categoryPillParent {
+ height: fit-content;
+ margin-top: auto;
+ margin-bottom: auto;
+
+ position: relative;
+}
+
.sponsorBlockCategoryPill {
border-radius: 25px;
padding-left: 8px;