Skip to content

Instantly share code, notes, and snippets.

@victorouttes
Last active December 27, 2019 19:50
Show Gist options
  • Select an option

  • Save victorouttes/e543be1863bedecb7e169ffcc82fd0f5 to your computer and use it in GitHub Desktop.

Select an option

Save victorouttes/e543be1863bedecb7e169ffcc82fd0f5 to your computer and use it in GitHub Desktop.
Make select2 dropdown match boostrap height
.select2-selection__rendered {
line-height: 32px !important;
}
.select2-container--default .select2-selection--single {
height: 37px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 35px !important;
}
.select2-selection__choice {
height: 32px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment