Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected text invisible; Ignores Bootstrap dark theme styling #85

Open
mcandre opened this issue Sep 20, 2019 · 3 comments
Open

Selected text invisible; Ignores Bootstrap dark theme styling #85

mcandre opened this issue Sep 20, 2019 · 3 comments

Comments

@mcandre
Copy link

mcandre commented Sep 20, 2019

This select2 theme ignores Bootstrap theme customizations such as background color, making the selected item text invisible.

@solodyagin
Copy link

I observe the same https://jsfiddle.net/2r3mp640/

@FilipiBraga
Copy link

Any solution?

@iragm
Copy link

iragm commented Oct 10, 2020

I ran across this and just needed to add a bit of css:

.select2-results {
    color: #444 !important;
}

.select2-results__option[aria-selected="true"] {
    background-color: rgb(231, 76, 60, .8) !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants