Fix header link anchors

This commit is contained in:
Robert Speicher 2015-05-06 18:38:43 -04:00
parent 1108915f75
commit 0cc7536341
1 changed files with 3 additions and 1 deletions

View File

@ -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 {