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

Add background color to group label #122

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

ocarreterom
Copy link
Contributor

@ocarreterom ocarreterom commented Mar 26, 2024

Add a background color to .hw-combobox__group__label following .hw-combobox__option style.

I wonder if it's worth adding the background color to .hw-combobox__listbox like Bootstrap does.
https://github.com/twbs/bootstrap/blob/v5.3.3/scss/_dropdown.scss#L59

Adds a background color to `.hw-combobox__group__label` following `.hw-combobox__option` style.
@josefarias
Copy link
Owner

Great catch! Thanks!

I think it might be enough to have the bg color on the options and group labels themselves. Could've probably done it at the listbox level, too. But I don't think we need to do both.

Anyway, food for thought for a possible simplification. I see no reason not to merge this for now though.

@josefarias josefarias merged commit 068cbca into josefarias:main Mar 26, 2024
2 checks passed
@ocarreterom ocarreterom deleted the add-group-label-bg-color branch March 27, 2024 08:40
@josefarias josefarias added the bug Something isn't working label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants