mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Merge pull request #136 from jakewies/fix-toc-overflow
Fix ToC overflow caused by visibility: hidden
This commit is contained in:
commit
8b3f2c89aa
|
@ -24,7 +24,7 @@ $tocBreakpoint: 1024px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
||||||
.anchor {
|
.anchor {
|
||||||
top: .5rem;
|
top: 0.5rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -1rem;
|
left: -1rem;
|
||||||
|
@ -78,9 +78,7 @@ $tocBreakpoint: 1024px;
|
||||||
max-width: 350px;
|
max-width: 350px;
|
||||||
|
|
||||||
@media screen and (max-width: $tocBreakpoint) {
|
@media screen and (max-width: $tocBreakpoint) {
|
||||||
visibility: hidden;
|
display: none;
|
||||||
width: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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="}}
|
Loading…
Reference in New Issue
Block a user