mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(hover): use :hover:not(.disable-hover)
Less CSS specificity issues. Disabling hover on mobile prevents button flickers.
This commit is contained in:
@@ -35,7 +35,7 @@ ion-action-sheet {
|
||||
}
|
||||
}
|
||||
|
||||
.enable-hover .action-sheet-container button:hover {
|
||||
.action-sheet-container button:hover:not(.disable-hover) {
|
||||
color: $action-sheet-options-text-color;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user