Fix header link anchors
This commit is contained in:
parent
1108915f75
commit
0cc7536341
|
@ -37,7 +37,9 @@ pre {
|
|||
position: relative;
|
||||
|
||||
a.anchor {
|
||||
display: none;
|
||||
// Setting `display: none` would prevent the anchor being scrolled to, so
|
||||
// instead we set the height to 0 and it gets updated on hover.
|
||||
height: 0;
|
||||
}
|
||||
|
||||
&:hover > a.anchor {
|
||||
|
|
Loading…
Reference in New Issue