Skip to content

Commit a21b8e0

Browse files
committed
add CSS for direct link scroll margin
1 parent 7d01e37 commit a21b8e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ td {
4646
overflow: scroll;
4747
}
4848

49+
h2[id] {
50+
scroll-margin: 8rem;
51+
}
52+
4953
.table th.param-cell {
5054
@apply font-normal;
5155
@apply truncate;

0 commit comments

Comments
 (0)