Skip to content

Commit 8075202

Browse files
lamATnginxnginx-jack
authored andcommitted
fix: Z-index of notes
1 parent 84946d7 commit 8075202

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/css/v2/style.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ blockquote {
878878

879879
blockquote.note {
880880
position: relative;
881-
z-index: -1;
881+
z-index: 0;
882882
}
883883

884884
blockquote.note:before {
@@ -893,6 +893,7 @@ blockquote.note:before {
893893
padding: 0 0.25rem;
894894
display: block;
895895
background-color: var(--color-background);
896+
z-index: 999;
896897
}
897898

898899
blockquote p:first-child {
@@ -1015,7 +1016,7 @@ blockquote.side-callout {
10151016
}
10161017

10171018
.code-block {
1018-
position: static;
1019+
position: relative;
10191020
}
10201021

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

0 commit comments

Comments
 (0)