Skip to content

Commit 295e84d

Browse files
committed
fix: Z-index of notes
1 parent 523e5c5 commit 295e84d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/css/v2/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ blockquote {
876876

877877
blockquote.note {
878878
position: relative;
879-
z-index: -1;
879+
z-index: 0;
880880
}
881881

882882
blockquote.note:before {
@@ -891,6 +891,7 @@ blockquote.note:before {
891891
padding: 0 0.25rem;
892892
display: block;
893893
background-color: var(--color-background);
894+
z-index: 999;
894895
}
895896

896897
blockquote p:first-child {
@@ -1013,7 +1014,7 @@ blockquote.side-callout {
10131014
}
10141015

10151016
.code-block {
1016-
position: static;
1017+
position: relative;
10171018
}
10181019

10191020
.code-block .code-header:not(:has(.code-type)) {

0 commit comments

Comments
 (0)