Fixed vertical positioning of glossary entries. (#4907)

- When hardlinking to a specific glossary entry, the page would
get positioned incorrectly, hiding the actual entry.
This commit is contained in:
Martin Taillefer 2019-09-04 05:51:22 -07:00 committed by Istio Automation
parent 54638f80de
commit 2344acea47
2 changed files with 3 additions and 7 deletions

View File

@ -59,7 +59,3 @@ update_ref_docs:
@scripts/grab_reference_docs.sh
include common/Makefile.common.mk
foo:
mdl --help

View File

@ -12,9 +12,9 @@
.entries {
.letter {
@media screen {
&:target::before {
height: calc(#{$headerHeight} - 1rem);
margin-top: calc(0 - calc(#{$headerHeight} - 1rem));
dt:target::before {
height: calc(#{$headerHeight} + 4.2rem);
margin-top: calc(-#{$headerHeight} - 4.2rem);
}
}
}