Skip to content

Commit 61c6336

Browse files
Copilotulysses4ever
andcommitted
Final code review fixes - match selector patterns and add z-index comment
Co-authored-by: ulysses4ever <6832600+ulysses4ever@users.noreply.github.com>
1 parent 943ab37 commit 61c6336

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/assets/css/dark-mode.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ body.dark-mode a:hover {
3333
color: #ff6666;
3434
}
3535

36-
body.dark-mode code:not(.label, .function, .type, .class, .law) {
36+
body.dark-mode :not(pre) > code:not(.label, .function, .type, .class, .law) {
3737
background-color: #2d2d2d;
3838
color: #e0e0e0;
3939
}
@@ -83,6 +83,7 @@ body.dark-mode .errata {
8383
position: fixed;
8484
top: 40px;
8585
right: 20px;
86+
/* Using z-index 10000 to match the Ukraine banner and ensure visibility */
8687
z-index: 10000;
8788
background-color: #333;
8889
color: white;

0 commit comments

Comments
 (0)