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.

有帮助吗?

解决方案

selectize.js customization for 30px height

.selectize-dropdown, .selectize-input { 
  line-height: 14px; 
}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top