alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

height #52

Closed daversm closed 8 years ago

daversm commented 8 years ago

Is changing the height of the drop down menu hard? I was looking around CSS file a bit, but a little lost as to what to change.

alsoscotland commented 8 years ago

@daversm There is a max-height rule on the class "r-ss-dropdown"

you should be able to override the rules with by adding a more specific wrapping class with the customClass attribute: http://alsoscotland.github.io/react-super-select/#customClass

example: if you give the option customClass: "daversm"

.daversm .r-ss-dropdown {
  max-height: none;
}