Skip to content

Commit

Permalink
Styles for select2 form builder component
Browse files Browse the repository at this point in the history
* don’t open dropdown on click
* width and height fixes
  • Loading branch information
katzmo committed Nov 28, 2018
1 parent 59a43dc commit a14ea57
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core.css
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,17 @@ select:not([multiple]) + .select2-container {
color: #BD5330;
}

/* Select2 form builder overrides */
.form-builder-element .select2-container {
pointer-events: none;
}
.form-builder-element select:not([multiple]) + .select2-container {
min-width: 100%;
}
.form-builder-element .select2-container .select2-selection {
min-height: 2.5em;
}

/* Fluid input */
input.fluid {
-moz-box-sizing:border-box;
Expand Down

0 comments on commit a14ea57

Please sign in to comment.