From f3eefa1dc89626a60622c4b4dbff74247b5e27dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 26 Aug 2023 14:11:20 -0400 Subject: [PATCH] fix shadows in dark theme remove unused css --- public/scss/admin/admin.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 {