Correction style tableau sources (bords)
This commit is contained in:
+14
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user