Skip to content

Commit c25aeb0

Browse files
committed
Make log blocks draw over outline
1 parent 7969a02 commit c25aeb0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.vitepress/theme/styles.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ main {
115115
// Custom list styles for nested items
116116
ul {
117117
list-style-type: disc; // First level: filled circle
118-
118+
119119
ul {
120120
list-style-type: circle; // Second level: empty circle
121-
122-
121+
122+
123123
ul {
124124
list-style-type: square; // Third level: square
125125
}
@@ -551,15 +551,14 @@ html.node {
551551
pre.log:focus {
552552
min-width: fit-content;
553553
padding-right: 40px;
554-
z-index: 1; // draw over outline
554+
z-index: 1; position: relative; // draw over outline
555555
}
556556
table:hover,
557557
table:focus {
558558
min-width: fit-content;
559559
}
560-
tr { // make wide rows go over outline, not below it
561-
z-index: 1;
562-
position: relative;
560+
tr {
561+
z-index: 1; position: relative; // draw wide rows over outline
563562
}
564563
[class*='language-'] pre {
565564
overflow: hidden !important;

0 commit comments

Comments
 (0)