Skip to content

Commit a9d41dd

Browse files
committed
fix: improve medium-zoom overlay styling for dark mode
1 parent ac452a3 commit a9d41dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: custom/preview.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
background: rgba(0, 0, 0, 0.8);
4040
}
4141
.medium-zoom-overlay {
42-
background: rgba(255, 255, 255, 0.8) !important
42+
z-index: 99;
43+
background: rgba(255, 255, 255, 0.8) !important;
44+
}
45+
html.dark .medium-zoom-overlay {
46+
background: rgba(17, 24, 39, 0.7) !important;
4347
}
4448
body.medium-zoom--opened aside {
4549
filter: grayscale(1)

0 commit comments

Comments
 (0)