From ed09a93b3d014673470035390b5ec2bdc91c8061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Fri, 15 Mar 2024 15:43:30 +0100 Subject: [PATCH 1/2] Fix dark mode styling Fixes "Dark mode is broken" #83 --- backend/static/css/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backend/static/css/style.css b/backend/static/css/style.css index 663f178..fea370c 100644 --- a/backend/static/css/style.css +++ b/backend/static/css/style.css @@ -63,9 +63,14 @@ body { width: 100%; } +.table { + color: var(--text-color); +} + table td { overflow: hidden; text-overflow: ellipsis; + color: var(--text-color); } table.entries tbody tr[data-index="0"] { @@ -234,5 +239,8 @@ pre { /* Toasts */ --toast-background-color: #232323; --toast-text-color: #f5f5f5; + + /* Tables */ + --table-border-color: #232323; } } \ No newline at end of file From a03c1c41bb490775f744a8b103640db433877eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Fri, 15 Mar 2024 15:47:39 +0100 Subject: [PATCH 2/2] Fix linter complaint. Remove unused variable assignment on SQL Query execution. --- backend/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/database.py b/backend/database.py index 1c0258d..6dec703 100644 --- a/backend/database.py +++ b/backend/database.py @@ -298,7 +298,7 @@ def transfer_playbacks(): ON DUPLICATE KEY UPDATE Playbacks = lts.Playbacks + VALUES(Playbacks); """) - result = conn.execute(stmt) + conn.execute(stmt) conn.commit() return True