Skip to content

Commit

Permalink
fix duplication of images in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
makotot committed Nov 1, 2024
1 parent c51e7b6 commit 43299b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
overflow: hidden;
}

html:not(.dark) .vp-doc img[src$='#dark']{
html:not(.dark) .vp-doc img[src$='#dark'] {
display: none;
}

.light .vp-doc img[src$='#dark'] {
display: none;
}

Expand Down

0 comments on commit 43299b5

Please sign in to comment.