Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit d31a062

Browse files
committed
Website: Fix anchor position for small screen
1 parent d35f67f commit d31a062

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/src/index.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,15 @@ pre {
370370
}
371371

372372
.markdownIt-Anchor {
373-
margin-left: -1.5rem;
374373
opacity: .4;
375374
}
376375

376+
@media (--r-minL) {
377+
.markdownIt-Anchor {
378+
margin-left: -1.5rem;
379+
}
380+
}
381+
377382
.markdownIt-Anchor:hover {
378383
opacity: .8;
379384
}

0 commit comments

Comments
 (0)