You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you take a look at the Sass (or Less) sources for .select2-results__group and compare them to the style definitions for Bootstraps "Dropdown header", you will find that we mimick the latter in terms of font-size, line-height and color (while the padding is based on Bootstraps definitions for .form-control and we do not alter the browser default styles of the <strong> tag the class is applied to).
The Bootstrap documentation describes the purpose of the "Dropdown header" as "to label sections of actions in any dropdown menu" – which is very close to the job that .select2-results__group is doing.
If you need to change the styles for .select2-results__group, just add some custom CSS, e. g.
For those who do compile their own select2-bootstrap-theme from the Sass or Less source, the next theme update will introduce a bunch of variables enabling you to change the properties in question.
font-size is wrong, and maybe color also...simply remove it from select2-results__group style
The text was updated successfully, but these errors were encountered: