Skip to content

Commit

Permalink
Merge pull request #48 from yorkshire-pudding/1.x-1.x
Browse files Browse the repository at this point in the history
Fixes #47 removes position:fixed and top offset
  • Loading branch information
olafgrabienski authored Sep 15, 2022
2 parents 21557f3 + bf573ff commit f40831b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion css/tocbot-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
position: relative;
}
.js-toc-block.is-position-fixed {
top: 80px;
position: relative !important;
}
.toc-list-item {
list-style-type: none;
Expand All @@ -16,6 +16,8 @@

@media (min-width: 48em) {
.js-toc-block.is-position-fixed {
position: fixed !important;
top: 80px;
max-width: 150px;
}
}
Expand Down

0 comments on commit f40831b

Please sign in to comment.