0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

Only apply set widths to actions styles within footer

This commit is contained in:
Thibaud Colas 2024-01-22 08:29:02 +00:00 committed by sag​e
parent 57d75e2870
commit bd8c38ed49

View File

@ -81,7 +81,7 @@
}
// Footer control bar for performing actions on the page
.actions {
.footer .actions {
width: 100%;
@include media-breakpoint-up(sm) {
@ -93,18 +93,18 @@
width: 310px;
}
}
}
.button {
@apply w-leading-none w-inline-flex w-items-center;
font-weight: 600;
padding: 0 theme('spacing.3');
white-space: initial;
.actions .button {
@apply w-leading-none w-inline-flex w-items-center;
font-weight: 600;
padding: 0 theme('spacing.3');
white-space: initial;
.icon {
width: theme('spacing.4');
margin-inline-end: theme('spacing.2');
flex-shrink: 0;
}
.icon {
width: theme('spacing.4');
margin-inline-end: theme('spacing.2');
flex-shrink: 0;
}
}