mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 05:02:57 +01:00
Adjust margin-bottom of w-field__wrapper in drilldown component
Prevent the focus outline from being cut-off
This commit is contained in:
parent
f1520bfcdd
commit
dbf3c7c586
@ -60,10 +60,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
.w-drilldown__submenu .w-field__wrapper {
|
||||
// Align the margin-top with the submenu’s back button
|
||||
// and reduce the default margin-bottom.
|
||||
margin-top: theme('spacing.2');
|
||||
margin-bottom: theme('spacing.2');
|
||||
}
|
||||
|
||||
.w-drilldown__submenu .w-field__label {
|
||||
@apply w-label-1;
|
||||
// Align with the submenu’s back button.
|
||||
margin-top: theme('spacing.2');
|
||||
margin-bottom: theme('spacing.3');
|
||||
}
|
||||
|
||||
|
@ -174,7 +174,7 @@
|
||||
@apply w-mx-2 w-flex w-items-center w-gap-2;
|
||||
}
|
||||
|
||||
.w-field__wrapper:not(.w-dialog .w-field__wrapper) {
|
||||
.w-field__wrapper:not(.w-drilldown .w-field__wrapper) {
|
||||
@apply w-mb-0;
|
||||
|
||||
.w-field__input {
|
||||
|
Loading…
Reference in New Issue
Block a user