Skip to content

Commit

Permalink
Jekyll theme update: Enable toc sidebar scrolling (see mmistakes/mini…
Browse files Browse the repository at this point in the history
  • Loading branch information
jgtiu committed Feb 14, 2024
1 parent b2fe4f5 commit ee4f445
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _sass/minimal-mistakes/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@
position: sticky;
top: 2em;
float: right;

.toc {
.toc__menu {
overflow-y: auto;
max-height: calc(100vh - 7em);
}
}
}
}

Expand Down Expand Up @@ -343,4 +350,3 @@
margin-right: initial;
}
}

0 comments on commit ee4f445

Please sign in to comment.