Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

Download page: always show What's new's scrollbar (#47)

Anmol Kapila203d665e2c7
diff --git a/docs/index.html b/docs/index.html
index bdd1f53..1b9767d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -837,20 +837,34 @@
.changes {
flex: 1;
min-height: 0;
- overflow-y: auto;
- padding-right: 8px;
+ /* Always show the scrollbar so the list reads as scrollable. A styled
+ ::-webkit-scrollbar stays visible in Chrome and Safari, even with macOS
+ overlay scrollbars, but only without scrollbar-width/-color, which are
+ Firefox's way. The fade spares the scrollbar's strip. */
+ overflow-y: scroll;
+ padding-right: 12px;
margin-right: -8px;
padding-bottom: 18px;
- scrollbar-width: thin;
- scrollbar-color: #33383c transparent;
- mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent);
+ mask-image:
+ linear-gradient(to bottom, #000 calc(100% - 36px), transparent),
+ linear-gradient(#000, #000) right / 8px 100% no-repeat;
}
.changes::-webkit-scrollbar {
width: 6px;
}
+ .changes::-webkit-scrollbar-track {
+ border-radius: 3px;
+ background: #23262a;
+ }
.changes::-webkit-scrollbar-thumb {
border-radius: 3px;
- background: #33383c;
+ background: #5d6165;
+ }
+ @supports (-moz-appearance: none) {
+ .changes {
+ scrollbar-width: thin;
+ scrollbar-color: #5d6165 #23262a;
+ }
}
}
.changes li {