Fix attachment preview background (#5067)

regression from 9c41874
This commit is contained in:
windingwind 2025-03-04 15:45:22 +01:00 • committed by GitHub
parent cab8e38806
commit ccc1800f21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1555,7 +1555,7 @@ class ReaderPreview extends ReaderInstance {
}
@media (prefers-color-scheme: light) {
body #viewerContainer {
background-color: #f2f2f2;
background-color: #f2f2f2 !important;
}
.pdfViewer .page::before {
box-shadow: inset 0 0 0px 1px #0000001a;
@ -1563,7 +1563,7 @@ class ReaderPreview extends ReaderInstance {
}
@media (prefers-color-scheme: dark) {
body #viewerContainer {
background-color: #303030;
background-color: #303030 !important;
}
.pdfViewer .page::before {
box-shadow: inset 0 0 0px 1px #ffffff1f;