Skip to content

Commit

Permalink
[#4519] Added max-inline-size for form variable dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed Jul 24, 2024
1 parent 5580da4 commit 9862455
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const VariableSelection = ({
return (
<Select
id={id}
className="form-variable-dropdown"
name={name}
choices={choices}
allowBlank
Expand Down
3 changes: 3 additions & 0 deletions src/openforms/scss/components/admin/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@

// Errors
@import './error-message';

// Form variables select-dropdown
@import './select';
3 changes: 3 additions & 0 deletions src/openforms/scss/components/admin/_select.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
select.form-variable-dropdown {
max-inline-size: 300px !important;
}

0 comments on commit 9862455

Please sign in to comment.