diff --git a/src/datadoc/assets/cbi.css b/src/datadoc/assets/cbi.css index f6df2fc8..ee456939 100644 --- a/src/datadoc/assets/cbi.css +++ b/src/datadoc/assets/cbi.css @@ -3,3 +3,12 @@ flex-wrap: wrap; flex-grow: 1; } + +.accordion-section{ + padding: 1rem; + padding-left: 0; +} + +.ssb-input{ + padding: 1rem; +} diff --git a/src/datadoc/frontend/components/variables_tab_cbi2.py b/src/datadoc/frontend/components/variables_tab_cbi2.py index 5bd4ec62..e92ae8e6 100644 --- a/src/datadoc/frontend/components/variables_tab_cbi2.py +++ b/src/datadoc/frontend/components/variables_tab_cbi2.py @@ -39,7 +39,6 @@ def build_variables_tab() -> dbc.Tab: ), ], className="ssb-input", - style={"padding": "1rem"}, ) for index, x in enumerate(test_variabel_details) ], @@ -53,7 +52,7 @@ def build_variables_tab() -> dbc.Tab: class_name="ssb-accordion", ), ], - style={"padding": "1rem", "paddingLeft": "0"}, + className="accordion-section", ), ], ),