0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +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:
Sage Abdullah 2024-01-23 09:43:08 +00:00
parent f1520bfcdd
commit dbf3c7c586
No known key found for this signature in database
GPG Key ID: EB1A33CC51CC0217
2 changed files with 8 additions and 3 deletions

View File

@ -60,10 +60,15 @@
}
}
.w-drilldown__submenu .w-field__wrapper {
// Align the margin-top with the submenus 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 submenus back button.
margin-top: theme('spacing.2');
margin-bottom: theme('spacing.3');
}

View File

@ -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 {