Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes for each version of this project will be documented in this file.

## 21.2.28

### Bug Fixes

- `IgxButtonDirective`
- Buttons that use `igxLabel` no longer receive the label styles of `IgxLabelDirective`, such as its text color (#18009).

## 21.2.27

### Bug Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
$deps: ()
);

[igxLabel] {
// igxButton has an igxLabel input of its own, so keep label styles off buttons.
[igxLabel]:where(:not(.igx-button)) {
@extend %label-base !optional;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
@mixin label($theme) {
// The --variant CSS produced by css-vars is needed also
// when dynamically switching between the input `type` attribute.
@include css-vars($theme, '[igxLabel]');
// igxButton has an igxLabel input of its own, so keep label styles off buttons.
@include css-vars($theme, '[igxLabel]:where(:not(.igx-button))');

$variant: map.get($theme, '_meta', 'theme');

Expand Down
Loading