Skip to content

Commit

Permalink
Moved inline-styling into cbi.css
Browse files Browse the repository at this point in the history
  • Loading branch information
tilen1976 committed Jan 22, 2024
1 parent 002b84c commit 97cdb76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/datadoc/assets/cbi.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@
flex-wrap: wrap;
flex-grow: 1;
}

.accordion-section{
padding: 1rem;
padding-left: 0;
}

.ssb-input{
padding: 1rem;
}
3 changes: 1 addition & 2 deletions src/datadoc/frontend/components/variables_tab_cbi2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def build_variables_tab() -> dbc.Tab:
),
],
className="ssb-input",
style={"padding": "1rem"},
)
for index, x in enumerate(test_variabel_details)
],
Expand All @@ -53,7 +52,7 @@ def build_variables_tab() -> dbc.Tab:
class_name="ssb-accordion",
),
],
style={"padding": "1rem", "paddingLeft": "0"},
className="accordion-section",
),
],
),
Expand Down

0 comments on commit 97cdb76

Please sign in to comment.