Merge pull request #136 from jakewies/fix-toc-overflow

Fix ToC overflow caused by visibility: hidden
This commit is contained in:
Jake Wiesler 2020-10-18 11:51:32 -04:00 committed by GitHub
commit 8b3f2c89aa
3 changed files with 4 additions and 6 deletions

View File

@ -24,7 +24,7 @@ $tocBreakpoint: 1024px;
padding-top: 10px;
.anchor {
top: .5rem;
top: 0.5rem;
text-decoration: none;
position: absolute;
left: -1rem;
@ -78,9 +78,7 @@ $tocBreakpoint: 1024px;
max-width: 350px;
@media screen and (max-width: $tocBreakpoint) {
visibility: hidden;
width: 0;
margin: 0;
display: none;
}
}

View File

@ -1 +1 @@
{"Target":"css/post.min.2cb93c91050d1853bf971cc31e00122edd6e0f405aa1de3b7f8ef67ea3b5a79a.css","MediaType":"text/css","Data":{"Integrity":"sha256-LLk8kQUNGFO/lxzDHgASLt1uD0Baod47f472fqO1p5o="}}
{"Target":"css/post.min.b60e0932fe1c50c3d7c5b4f83ee9e4592363654d0f2abf05bbd0678d5b8a214c.css","MediaType":"text/css","Data":{"Integrity":"sha256-tg4JMv4cUMPXxbT4PunkWSNjZU0PKr8Fu9BnjVuKIUw="}}