Fix hover bug on iPad requiring double click (1545)
This commit is contained in:
commit
58270ab758
1 changed files with 55 additions and 46 deletions
|
@ -250,11 +250,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (any-pointer: fine) {
|
||||
&:hover {
|
||||
.claim__menu-button {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $breakpoint-small) {
|
||||
// padding: var(--spacing-s) !important;
|
||||
|
@ -410,6 +412,8 @@
|
|||
@include handleChannelGif(6rem);
|
||||
}
|
||||
|
||||
// any-pointer media query prevents double click hover bug on ipad
|
||||
@media (any-pointer: fine) {
|
||||
// show watch later button and duration divs when hovered
|
||||
&:hover {
|
||||
.media__thumb {
|
||||
|
@ -437,6 +441,7 @@
|
|||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $breakpoint-small) {
|
||||
font-size: 14px;
|
||||
|
@ -970,6 +975,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (any-pointer: fine) {
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
|
||||
|
@ -990,6 +996,7 @@
|
|||
transition: 0.3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
&:focus {
|
||||
|
@ -1476,6 +1483,7 @@ $claim-preview-progress-bar-height: 5px;
|
|||
}
|
||||
|
||||
@media (min-width: $breakpoint-small) {
|
||||
@media (any-pointer: fine) {
|
||||
.claim-preview--tile:not(:hover),
|
||||
.claim-preview__wrapper:not(:hover) {
|
||||
.claim__menu-button:not(:focus):not([aria-expanded='true']) {
|
||||
|
@ -1483,6 +1491,7 @@ $claim-preview-progress-bar-height: 5px;
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.claim-preview__overlay-properties {
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue