How to set custom height & width for select enhanced with selectize.js jquery plugin?
Asked Answered
A

1

10

I'm using https://github.com/brianreavis/selectize.js in a project and I'm not able to customize the height and width of the select input:

The problem is aggravated because the standard select / text input (using bootstrap 2) is 30px height, and with this plug-in it grows to 37px and breaks very bad the visual of my user interface (growing all inputs to 37px is certainly not an option).

I've also included the selectize.bootstrap2.css file with no luck.

Adiathermancy answered 20/3, 2014 at 21:51 Comment(0)
A
8

selectize.js customization for 30px height

.selectize-dropdown, .selectize-input { 
  line-height: 14px; 
}
Adiathermancy answered 5/4, 2014 at 15:34 Comment(1)
Why the double .selectize-input selector?Comradery

© 2022 - 2024 — McMap. All rights reserved.