Skip to content

Commit aacbad2

Browse files
authored
Apply a white background to .png files in dark mode (#1134)
1 parent 6d53532 commit aacbad2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,3 +356,7 @@ hr {
356356
margin: auto;
357357
max-width: 91%;
358358
}
359+
360+
html[data-theme="dark"] .container img[src$=".png"] { /* Adds a white background to transparent .png images. */
361+
background-color: #ffffff;
362+
}

0 commit comments

Comments
 (0)