Réglage de la taille du texte colonne objet
This commit is contained in:
+11
-1
@@ -26,10 +26,20 @@ datatable = dash_table.DataTable(
|
|||||||
export_format="xlsx",
|
export_format="xlsx",
|
||||||
export_columns="visible",
|
export_columns="visible",
|
||||||
export_headers="ids",
|
export_headers="ids",
|
||||||
|
style_cell_conditional=[
|
||||||
|
{
|
||||||
|
"if": {"column_id": "objet"},
|
||||||
|
"minWidth": "300px",
|
||||||
|
"textAlign": "left",
|
||||||
|
"overflow": "hidden",
|
||||||
|
"lineHeight": "14px",
|
||||||
|
"whiteSpace": "normal",
|
||||||
|
},
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
app.layout = [
|
app.layout = [
|
||||||
html.H1(children="decp.info", style={"textAlign": "center"}),
|
html.H1(children="decp.info"),
|
||||||
html.Details(
|
html.Details(
|
||||||
children=[
|
children=[
|
||||||
html.Summary("Utilisation"),
|
html.Summary("Utilisation"),
|
||||||
|
|||||||
@@ -11,3 +11,9 @@ button.export:before {
|
|||||||
input.dash-filter--case {
|
input.dash-filter--case {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Réduire la taille du texte de la colonne Objet */
|
||||||
|
|
||||||
|
td[data-dash-column="objet"] {
|
||||||
|
font-size: 85%;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user