diff --git a/src/Moonglade.Web/Pages/Settings/Notification.cshtml b/src/Moonglade.Web/Pages/Settings/Notification.cshtml index f0f301310..9b67f9411 100644 --- a/src/Moonglade.Web/Pages/Settings/Notification.cshtml +++ b/src/Moonglade.Web/Pages/Settings/Notification.cshtml @@ -25,6 +25,7 @@ } @{ + ViewBag.ThemeSwitchReady = true; var settings = BlogConfig.NotificationSettings; } @@ -48,7 +49,7 @@ } else { -
+
@@ -61,7 +62,7 @@
} -
+
@@ -73,7 +74,7 @@
-
+
@@ -92,7 +93,7 @@

@SharedLocalizer["Notification Options"]

-
+
@@ -107,7 +108,7 @@
-
+
@@ -122,7 +123,7 @@
-
+
diff --git a/src/Moonglade.Web/wwwroot/css/admin.css b/src/Moonglade.Web/wwwroot/css/admin.css index 8c9b7cec5..8789ded0c 100644 --- a/src/Moonglade.Web/wwwroot/css/admin.css +++ b/src/Moonglade.Web/wwwroot/css/admin.css @@ -293,6 +293,7 @@ div.mce-fullscreen { .settings-entry { margin-left: 0; margin-right: 0; + background-color: var(--bs-white); } .tags-dropdown .tagify__dropdown__item { @@ -359,4 +360,8 @@ div.mce-fullscreen { [data-bs-theme="dark"] .admin-nav-section .list-group-item:hover { background-color: var(--bs-body-bg); +} + +[data-bs-theme="dark"] .settings-entry { + background-color: var(--bs-body-bg); } \ No newline at end of file