add background color for live previews in dark mode

This commit is contained in:
AUTOMATIC 2023-01-15 23:37:34 +03:00
parent 3db22e6ee4
commit 9a43acf94e

View File

@ -337,6 +337,10 @@ input[type="range"]{
margin: -4px; margin: -4px;
} }
.dark .livePreview{
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.livePreview img{ .livePreview img{
position: absolute; position: absolute;
object-fit: contain; object-fit: contain;