only stick timeline heading to top instead of nav

This commit is contained in:
shitpostalotl 2022-08-03 13:26:32 -07:00
parent 094694a8bf
commit c50c670aa2
3 changed files with 5 additions and 4 deletions

View file

@ -127,7 +127,7 @@ nav {
box-shadow: var(--topBarShadow); box-shadow: var(--topBarShadow);
box-sizing: border-box; box-sizing: border-box;
height: var(--navbar-height); height: var(--navbar-height);
position: fixed; position: relative;
} }
#sidebar { #sidebar {
@ -135,7 +135,7 @@ nav {
} }
.column.-scrollable { .column.-scrollable {
top: var(--navbar-height); top: 0;
position: sticky; position: sticky;
} }
@ -297,7 +297,7 @@ nav {
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
padding-top: 0; padding-top: 0;
margin-top: var(--navbar-height); margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }

View file

@ -23,6 +23,7 @@
.timeline-heading { .timeline-heading {
.button-default, .alert { .button-default, .alert {
position: sticky;
line-height: 2em; line-height: 2em;
width: 100%; width: 100%;
} }

View file

@ -81,7 +81,7 @@
&.-sticky { &.-sticky {
position: sticky; position: sticky;
top: var(--navbar-height); top: 0;
} }
&::after, &::after,