Suppression des styles non utilisés

This commit is contained in:
Colin Maudry
2026-01-29 19:55:11 +01:00
parent 536d37d67c
commit afd812c50d
2 changed files with 13 additions and 11 deletions
+13
View File
@@ -195,6 +195,11 @@ table.cell-table tr {
border-spacing: 0; border-spacing: 0;
} }
table.cell-table th {
border-collapse: separate !important;
border-spacing: 0;
}
.dash-table-container p { .dash-table-container p {
margin-bottom: 0; margin-bottom: 0;
} }
@@ -266,6 +271,14 @@ table.cell-table tr {
} }
/* Custom Marches Table */ /* Custom Marches Table */
.dash-table-container
.dash-spreadsheet-container
.dash-spreadsheet-inner
.cell-table
td {
padding-left: 5px;
}
.dash-table-container .dash-table-container
.dash-spreadsheet-container .dash-spreadsheet-container
.dash-spreadsheet-inner .dash-spreadsheet-inner
-11
View File
@@ -213,10 +213,6 @@ def get_sources_tables(source_path) -> html.Div:
], ],
sort_action="native", sort_action="native",
markdown_options={"html": True}, markdown_options={"html": True},
style_cell={
"border-left": "solid 1px #ccc",
"border-top": "solid 1px #ccc",
},
style_header={ style_header={
"border": "solid 1px rgb(179, 56, 33)", "border": "solid 1px rgb(179, 56, 33)",
"backgroundColor": "rgb(179, 56, 33)", "backgroundColor": "rgb(179, 56, 33)",
@@ -335,13 +331,6 @@ class DataTable(dash_table.DataTable):
row_deletable=False, row_deletable=False,
page_current=0, page_current=0,
style_cell_conditional=style_cell_conditional, style_cell_conditional=style_cell_conditional,
style_header={
"backgroundColor": "rgb(179, 56, 33)",
"color": "white",
},
style_table={
"border": "solid 0 white",
},
data_timestamp=0, data_timestamp=0,
markdown_options={"html": True}, markdown_options={"html": True},
tooltip_duration=8000, tooltip_duration=8000,