mirror of https://github.com/istio/istio.io.git
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:
parent
54638f80de
commit
2344acea47
|
@ -59,7 +59,3 @@ update_ref_docs:
|
||||||
@scripts/grab_reference_docs.sh
|
@scripts/grab_reference_docs.sh
|
||||||
|
|
||||||
include common/Makefile.common.mk
|
include common/Makefile.common.mk
|
||||||
|
|
||||||
foo:
|
|
||||||
mdl --help
|
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
.entries {
|
.entries {
|
||||||
.letter {
|
.letter {
|
||||||
@media screen {
|
@media screen {
|
||||||
&:target::before {
|
dt:target::before {
|
||||||
height: calc(#{$headerHeight} - 1rem);
|
height: calc(#{$headerHeight} + 4.2rem);
|
||||||
margin-top: calc(0 - calc(#{$headerHeight} - 1rem));
|
margin-top: calc(-#{$headerHeight} - 4.2rem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue