bootstrap
bootstrap copied to clipboard
List-group: Make `.list-group-item-action` style more specific than `.list-group-item`.
Description
Reintroduce #35759 changes by reverting #36018.
Changed the CSS to guard rail the .active
style to be overridden on the different states.
Motivation & Context
List-group items with actions are never using their color.
Type of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Refactoring (non-breaking change)
- [ ] Breaking change (fix or feature that would change existing functionality)
Checklist
- [x] I have read the contributing guidelines
- [x] My code follows the code style of the project (using
npm run lint
) - [x] My change introduces changes to the documentation
- [x] I have updated the documentation accordingly
- [x] I have added tests to cover my changes
- [x] All new and existing tests passed
Live previews
Related issues
Closes #39047.