From afd812c50db923e400713276954a75917a06a7e8 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Thu, 29 Jan 2026 19:55:11 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20des=20styles=20non=20utilis=C3=A9?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/style.css | 13 +++++++++++++ src/figures.py | 11 ----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index b6eef1b..41eda4e 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -195,6 +195,11 @@ table.cell-table tr { border-spacing: 0; } +table.cell-table th { + border-collapse: separate !important; + border-spacing: 0; +} + .dash-table-container p { margin-bottom: 0; } @@ -266,6 +271,14 @@ table.cell-table tr { } /* Custom Marches Table */ +.dash-table-container + .dash-spreadsheet-container + .dash-spreadsheet-inner + .cell-table + td { + padding-left: 5px; +} + .dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner diff --git a/src/figures.py b/src/figures.py index 32c2092..e7ef19e 100644 --- a/src/figures.py +++ b/src/figures.py @@ -213,10 +213,6 @@ def get_sources_tables(source_path) -> html.Div: ], sort_action="native", markdown_options={"html": True}, - style_cell={ - "border-left": "solid 1px #ccc", - "border-top": "solid 1px #ccc", - }, style_header={ "border": "solid 1px rgb(179, 56, 33)", "backgroundColor": "rgb(179, 56, 33)", @@ -335,13 +331,6 @@ class DataTable(dash_table.DataTable): row_deletable=False, page_current=0, style_cell_conditional=style_cell_conditional, - style_header={ - "backgroundColor": "rgb(179, 56, 33)", - "color": "white", - }, - style_table={ - "border": "solid 0 white", - }, data_timestamp=0, markdown_options={"html": True}, tooltip_duration=8000,