Skip to content

Commit

Permalink
Add base styling for footer actions to support simple customisations
Browse files Browse the repository at this point in the history
- Fixes #11629
- Relates to clean up done as part of #11629 which removed a lot of styling for footer actions which appeared to be unused.
- Re-add some base styling to support the ability for basic customisations where buttons are added within the `extra_footer_actions` block.
  • Loading branch information
lb- committed Mar 12, 2024
1 parent f30c651 commit 5ee324d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions client/scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,18 @@
}

&--primary {
// Support basic layout support for items added via `extra_footer_actions`

display: grid;
gap: theme('spacing.2');

> * {
// Reset the margin on any .button sibling elements
margin-inline-start: initial;
}

@include media-breakpoint-up(sm) {
grid-auto-flow: column;
width: 310px;
}
}
Expand Down

0 comments on commit 5ee324d

Please sign in to comment.