Skip to content

Commit

Permalink
add css class to css and apply_and_reset_filter_buttons to group butt…
Browse files Browse the repository at this point in the history
…ons together
  • Loading branch information
kateriley1 committed Jul 7, 2023
1 parent 354be15 commit 33c2e9d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions gov_uk_dashboards/assets/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -8111,4 +8111,12 @@ mark.expenditure {
content: "";
display: table;
clear: both;
}

.horizontal-button-group {
float: right;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
padding-top: 10px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def apply_and_reset_filters_buttons():
className="govuk-button govuk-!-margin-left-5",
),
],
className="govuk-button-group",
style={"float": "right"},
className="govuk-button-group horizontal-button-group",

)
8 changes: 8 additions & 0 deletions scss/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1147,4 +1147,12 @@ mark.expenditure {
content: "";
display: table;
clear: both;
}

.horizontal-button-group {
float: right;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
padding-top: 10px;
}

0 comments on commit 33c2e9d

Please sign in to comment.