Skip to content

Node.js based forum software built for the modern web

fix shadows in dark theme

Barış Soner Uşaklıf3eefa1dc896
diff --git a/public/scss/admin/admin.scss b/public/scss/admin/admin.scss
index d74d386cf4..2cf8d3b4bf 100644
--- a/public/scss/admin/admin.scss
+++ b/public/scss/admin/admin.scss
@@ -26,6 +26,12 @@ body {
overflow-y: scroll;
}
+[data-bs-theme="dark"] {
+ .admin .card:not([data-container-html]) {
+ box-shadow: 0px 1px 3px 0px rgba(var(--bs-black-rgb), 0.5);
+ }
+}
+
.admin {
.acp-page-container {
max-width: 800px;
@@ -171,11 +177,6 @@ body {
th {
font-size: 10px;
}
-
- img {
- max-width: 24px;
- max-height: 24px;
- }
}
* > .checkbox:first-child {