mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(button): avoid using attribute selectors for disabled (#17198)
This commit is contained in:
@ -109,12 +109,6 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.button-native[disabled] {
|
||||
cursor: default;
|
||||
opacity: .5;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
::slotted(ion-icon) {
|
||||
line-height: 1;
|
||||
}
|
||||
@ -157,6 +151,12 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
:host(.fab-button-disabled) .button-native {
|
||||
cursor: default;
|
||||
opacity: .5;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// FAB Content
|
||||
// --------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user