mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(button): set opacity on the host for disabled button (#18509)
allows for customization of the disabled button opacity fixes #16965
This commit is contained in:
committed by
Brandy Carney
parent
4ad078a975
commit
320719b904
@ -63,12 +63,12 @@
|
||||
}
|
||||
|
||||
:host(.button-disabled) {
|
||||
--opacity: .5;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
:host(.button-disabled) .button-native {
|
||||
cursor: default;
|
||||
opacity: .5;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user