Skip to content

Commit 5d7a733

Browse files
committed
- style.css: fix dark-only
1 parent e7376fb commit 5d7a733

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/.vitepress/theme/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@
200200
* Dark/light mode images
201201
* -------------------------------------------------------------------------- */
202202

203-
.dark .light-only,
204-
:not(.dark) .dark-only {
205-
display: none !important;
206-
}
203+
html.dark .light-only,
204+
html:not(.dark) .dark-only {
205+
display: none !important;
206+
}
207207

208208
/**
209209
* Chart/image containers

0 commit comments

Comments
 (0)