From 88b0ee7ca8ebc74fccebaa71e69779fbb95e4992 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 11 May 2026 17:24:15 +0200 Subject: đŸ’„ UI: dark/light mode switcher - dark style fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/static/media/styles.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ishtar_common/static/media/styles.css') diff --git a/ishtar_common/static/media/styles.css b/ishtar_common/static/media/styles.css index 515293653..2ed496c31 100644 --- a/ishtar_common/static/media/styles.css +++ b/ishtar_common/static/media/styles.css @@ -202,8 +202,6 @@ table.dataTable thead th, table.dataTable thead td { height: 50px; } -@media (prefers-color-scheme: dark) { - html{ - background-image: url('images/ishtar-bg-dark.png'); - } +html[data-theme="dark"] { + background-image: url('images/ishtar-bg-dark.png'); } -- cgit v1.2.3