Compare commits

...

2 Commits

Author SHA1 Message Date
Mira Weller
dc8a4010b1 Set select2 width to 100% so they adapt when browser window is resized 2025-10-08 14:21:34 +02:00
Mira Weller
baf351349f Remove explicitly specified width for formset-forms
With that style, all formset rows were a fix pixels less wide than surrounding content
2025-10-08 14:21:13 +02:00
2 changed files with 1 additions and 4 deletions

View File

@@ -485,6 +485,7 @@ var form_handlers = function (el) {
theme: "bootstrap",
language: $("body").attr("data-select2-locale"),
data: JSON.parse($(this.getAttribute('data-select2-src')).text()),
width: '100%',
}).val(selectedValue).trigger('change');
});

View File

@@ -63,10 +63,6 @@ td > .form-group > .checkbox {
@include box-shadow(none);
}
div[data-formset-body], div[data-formset-form], div[data-nested-formset-form], div[data-nested-formset-body], details[data-formset-form] {
width: 100%;
}
.form-plugins .panel-title {
line-height: 34px;
}