diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 26fcff3..6886019 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -199,10 +199,11 @@ p.version > a { border-color: #ccc; border-style: solid; border-width: 1px; - border-radius: 2px; + border-radius: 3px; height: 28px; font-family: "Fira Code"; caret-color: #000; + background-color: rgb(250 250 250); text-align: left !important; padding: 1px 2px 0 2px; vertical-align: center; @@ -212,6 +213,14 @@ p.version > a { display: none; } +.dash-table-container + .dash-spreadsheet-container + .dash-spreadsheet-inner + .cell-table + th.dash-filter { + background-color: #ccc; +} + /* Custom Marches Table */ .marches_table table td, .marches_table table th { diff --git a/src/figures.py b/src/figures.py index 7ff0274..1781df7 100644 --- a/src/figures.py +++ b/src/figures.py @@ -261,15 +261,19 @@ class DataTable(dash_table.DataTable): { "if": {"column_id": "objet"}, "minWidth": "350px", - "textAlign": "left", "overflow": "hidden", "lineHeight": "18px", "whiteSpace": "normal", }, + { + "if": {"column_id": "acheteur_id"}, + "minWidth": "160px", + "overflow": "hidden", + "whiteSpace": "normal", + }, { "if": {"column_id": "acheteur_nom"}, "minWidth": "250px", - "textAlign": "left", "overflow": "hidden", "lineHeight": "18px", "whiteSpace": "normal", @@ -277,7 +281,6 @@ class DataTable(dash_table.DataTable): { "if": {"column_id": "titulaire_nom"}, "minWidth": "250px", - "textAlign": "left", "overflow": "hidden", "lineHeight": "18px", "whiteSpace": "normal",