如何使用selectize.js jquery插件为select增强设置自定义高度和宽度?

pra*_*mer 8 css user-interface jquery-plugins twitter-bootstrap selectize.js

我在项目中使用https://github.com/brianreavis/selectize.js,我无法自定义选择输入的高度和宽度:

问题更加严重,因为标准的选择/文本输入(使用引导程序2)高度为30px,使用此插件时,它增长到37px并且打破了我的用户界面的视觉效果(将所有输入增加到37px肯定不是选项).

我还包括selectize.bootstrap2.css文件,没有运气.

pra*_*mer 6

selectize.js 自定义 30px 高度

.selectize-dropdown, .selectize-input { 
  line-height: 14px; 
}
Run Code Online (Sandbox Code Playgroud)