summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/features/sticky-sidebar.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/sticky-sidebar.css b/source/features/sticky-sidebar.css
index 8b5ed552..1bb3a01c 100644
--- a/source/features/sticky-sidebar.css
+++ b/source/features/sticky-sidebar.css
@@ -18,7 +18,7 @@ Exclusively use simple sums and use `0px` instead of `0`
.rgh-sticky-sidebar {
position: sticky;
- top: var(--rgh-sticky-sidebar-offset) !important;
+ top: var(--rgh-sticky-sidebar-offset, 0) !important;
/* `sticky` will trap the `fixed` dialog’s z-index in some sidebars #3732 */
/* Higher than sticky readme header #4192 */