From 7daced0cead0532b585a8083e019c7955d90a3a7 Mon Sep 17 00:00:00 2001 From: Deco Vander Date: Thu, 3 Jul 2025 21:12:11 -0400 Subject: [PATCH] Fix reports table text color with explicit th,td selector Applied the exact same selector pattern as admin table: - .reports-table th, .reports-table td { color: var(--text-color); } This ensures both header and data cells explicitly inherit the correct text color variable, matching the admin table behavior exactly. Should resolve the white text visibility issue in dark mode. --- public/style.css | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/public/style.css b/public/style.css index ebe1bbe..3179521 100644 --- a/public/style.css +++ b/public/style.css @@ -339,15 +339,7 @@ footer { transition: background-color 0.3s ease; } -.reports-table th { - background-color: var(--table-header-bg); - color: var(--text-color); - font-weight: bold; - padding: 12px; - text-align: left; - border-bottom: 1px solid var(--border-color); -} - +.reports-table th, .reports-table td { padding: 12px; text-align: left; @@ -355,6 +347,12 @@ footer { color: var(--text-color); } +.reports-table th { + background-color: var(--table-header-bg); + color: var(--text-color); + font-weight: bold; +} + .reports-table tr:hover { background-color: var(--table-hover); }