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:
@@ -78,10 +78,10 @@ ion-tab {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.enable-hover .tab-button:hover {
|
||||
color: $tab-button-text-inactive;
|
||||
:hover:not(.disable-hover) {
|
||||
color: $tab-button-text-inactive;
|
||||
}
|
||||
}
|
||||
|
||||
[tab-bar-icons="bottom"] .tab-button {
|
||||
|
||||
Reference in New Issue
Block a user