Make select2 container width 100% in admin forms layout

Adjusted the styles for the Select2 container to ensure it spans the full width within the admin forms. This improves layout consistency and resolves display issues for page selector dropdowns.
This commit is contained in:
Mykyta Synelnikov
2025-09-17 15:44:35 +03:00
parent e26bd8eafb
commit d756391f1f
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -65,6 +65,9 @@
margin: 0 0 5px 0;
display: inline-block;
}
.um-form-table.um-top-label .um-forms-line td select.um-forms-field.um-pages-select2 ~ .select2-container {
width: 100% !important;
}
.um-form-table.um-top-label .um-forms-line[data-field_type=icon] td label {
width: 100%;
display: block;
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -85,6 +85,9 @@
margin: 0 0 5px 0
display: inline-block
//font-weight: bold
select.#{$prefix}forms-field.#{$prefix}pages-select2
& ~ .select2-container
width: 100% !important
&[data-field_type="icon"]
td