From c6b36100b4a5b7dc24e7bed4b6488395df5da5f9 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Sun, 30 Nov 2025 19:56:23 +0000 Subject: [PATCH] total is bold --- backend/src/dashboard/main.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/backend/src/dashboard/main.py b/backend/src/dashboard/main.py index 485d993..40dac67 100644 --- a/backend/src/dashboard/main.py +++ b/backend/src/dashboard/main.py @@ -123,6 +123,13 @@ app.layout = html.Div([ "minWidth": "150px"}, ], style_header={"fontWeight": "bold", "backgroundColor": "#f5f5f5"}, + style_data_conditional=[ + { # <<< MAKE TOTAL ROW BOLD + "if": {"filter_query": "{Product Type} = 'TOTAL'"}, + "fontWeight": "bold", + "backgroundColor": "#f0f0f0" + } + ] ), html.Hr(), @@ -144,6 +151,13 @@ app.layout = html.Div([ "minWidth": "150px"}, ], style_header={"fontWeight": "bold", "backgroundColor": "#f5f5f5"}, + style_data_conditional=[ + { # <<< MAKE TOTAL ROW BOLD + "if": {"filter_query": "{Product Type} = 'TOTAL'"}, + "fontWeight": "bold", + "backgroundColor": "#f0f0f0" + } + ] ), html.Hr(),