mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(toolbar): match MD button spec (#16378)
Fixes an issue where a Material Design button would disappear when focused within a toolbar with a color attribute.
This commit is contained in:
@ -27,6 +27,8 @@
|
||||
:host-context(.ion-color)::slotted(*) .button {
|
||||
--color: initial;
|
||||
--color-activated: initial;
|
||||
--color-focused: initial;
|
||||
--background-focused: #{ion-color(primary, contrast, 0.1)};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user