Skip to content

list-group-item-action color is overridden by list-group-item #39047

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

Closed
3 tasks done
rokaux opened this issue Aug 14, 2023 · 0 comments · Fixed by #39064
Closed
3 tasks done

list-group-item-action color is overridden by list-group-item #39047

rokaux opened this issue Aug 14, 2023 · 0 comments · Fixed by #39064
Labels

Comments

@rokaux
Copy link

rokaux commented Aug 14, 2023

Prerequisites

Describe the issue

Since both classes should be applied to list group link or button, the list-group-item colors overrides list-group-item-action colors because list-group-item declaration comes after list-group-item-action in list-group.scss file.

There are separate variables for defining colors independently for list-group-item and list-group-item-action but they don't really work due to the above issue.

Reduced test cases

Screenshot 2023-08-14 at 17 31 03
Screenshot 2023-08-14 at 17 31 38

What operating system(s) are you seeing the problem on?

Windows, macOS

What browser(s) are you seeing the problem on?

Chrome, Safari, Firefox, Microsoft Edge, Opera

What version of Bootstrap are you using?

v5.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants