Skip to content

Commit 14a1ed2

Browse files
committed
Fix anchor jump to
1 parent 63488d7 commit 14a1ed2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

stubbornjava-webapp/ui/src/common/common.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,23 @@ h6 {
7171
}
7272
}
7373

74+
.anchored-md {
75+
h1,
76+
h2,
77+
h3,
78+
h4,
79+
h5,
80+
h6 {
81+
&:before {
82+
display: block;
83+
content: " ";
84+
margin-top: -70px;
85+
height: 70px;
86+
visibility: hidden;
87+
}
88+
}
89+
}
90+
7491
.inline-block {
7592
display: inline-block;
7693
}

0 commit comments

Comments
 (0)