Réglage de la taille du texte colonne objet

This commit is contained in:
Colin Maudry
2025-04-21 14:32:01 +02:00
parent 578041cb7f
commit 75e09b0bc6
2 changed files with 17 additions and 1 deletions
+11 -1
View File
@@ -26,10 +26,20 @@ datatable = dash_table.DataTable(
export_format="xlsx",
export_columns="visible",
export_headers="ids",
style_cell_conditional=[
{
"if": {"column_id": "objet"},
"minWidth": "300px",
"textAlign": "left",
"overflow": "hidden",
"lineHeight": "14px",
"whiteSpace": "normal",
},
],
)
app.layout = [
html.H1(children="decp.info", style={"textAlign": "center"}),
html.H1(children="decp.info"),
html.Details(
children=[
html.Summary("Utilisation"),
+6
View File
@@ -11,3 +11,9 @@ button.export:before {
input.dash-filter--case {
display: none;
}
/* Réduire la taille du texte de la colonne Objet */
td[data-dash-column="objet"] {
font-size: 85%;
}