Skip to content

Commit

Permalink
Make the "Start a Discussion" button also sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
SignorMercurio authored May 2, 2022
1 parent 28f7815 commit 4def689
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions less/forum.less
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
@media (min-width: 992px) {
.sideNav>ul {
height: 100%;
:not(.TagsPage-nav).sideNav,
:not(.TagsPage-nav).sideNav>ul {
position: sticky;
top: 70px;
}

.sideNav>ul>.item-nav {
position: sticky;
top: 70px;
max-height: 90vh;
max-height: 80vh;
overflow-x: hidden;
overflow-y: hidden;
/* For iOS */
Expand Down Expand Up @@ -39,4 +38,4 @@
position: sticky;
top: 70px;
max-height: 90vh;
}
}

0 comments on commit 4def689

Please sign in to comment.