Correction style tableau sources (bords)

This commit is contained in:
Colin Maudry
2026-01-29 19:38:56 +01:00
parent f43bb14e23
commit 536d37d67c
+14 -1
View File
@@ -214,7 +214,8 @@ def get_sources_tables(source_path) -> html.Div:
sort_action="native",
markdown_options={"html": True},
style_cell={
"border": "solid 1px rgb(179, 56, 33)",
"border-left": "solid 1px #ccc",
"border-top": "solid 1px #ccc",
},
style_header={
"border": "solid 1px rgb(179, 56, 33)",
@@ -301,6 +302,18 @@ class DataTable(dash_table.DataTable):
"lineHeight": "18px",
"whiteSpace": "normal",
},
{
"if": {"column_id": "montant"},
"textAlign": "right",
},
{
"if": {"column_id": "dureeMois"},
"textAlign": "right",
},
{
"if": {"column_id": "titulaire_distance"},
"textAlign": "right",
},
]
# Initialisation de la classe parente avec les arguments