mirror of https://github.com/zulip/zulip.git
/help/: Reduce margin-top for closer anchoring.
This lowers the amount of margin in the :before hack that we use to put padding before anchored elements from 40px to 30px on <h1> tags and 10px on everything else, which seems to be plenty. Fixes: #7069.
This commit is contained in:
parent
ec3b2072ce
commit
6f77887b4d
|
@ -187,11 +187,21 @@ body {
|
|||
.markdown h4[id]:before {
|
||||
display: block;
|
||||
content: " ";
|
||||
margin-top: -40px;
|
||||
height: 40px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.markdown h1[id]:before {
|
||||
margin-top: -30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.markdown h2[id]:before,
|
||||
.markdown h3[id]:before,
|
||||
.markdown h4[id]:before {
|
||||
margin-top: -10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.markdown ul,
|
||||
.markdown ol {
|
||||
margin-left: 30px;
|
||||
|
|
Loading…
Reference in New Issue