0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/client/scss/components/forms/_form-width.scss
2022-10-17 12:18:02 +01:00

22 lines
357 B
SCSS

.w-form-width {
@include max-form-width();
}
@include media-breakpoint-up(md) {
.side-panel-open {
.tab-content {
width: theme('width.[2/3]');
}
}
}
.fields {
// Apply the desired form width for legacy `fields` container.
max-width: $max-form-width;
// Remove any spacing in legacy fields markup.
> li {
padding: 0;
}
}