fix list view

This commit is contained in:
Anthony 2022-05-24 13:49:28 +02:00 committed by Thomas Zarebczan
parent 26bde0a390
commit b1516a904d

View file

@ -250,9 +250,11 @@
} }
} }
&:hover { @media (any-pointer: fine) {
.claim__menu-button { &:hover {
opacity: 1; .claim__menu-button {
opacity: 1;
}
} }
} }
@ -410,6 +412,7 @@
@include handleChannelGif(6rem); @include handleChannelGif(6rem);
} }
// any-pointer media query prevents double click hover bug on ipad
@media (any-pointer: fine) { @media (any-pointer: fine) {
// show watch later button and duration divs when hovered // show watch later button and duration divs when hovered
&:hover { &:hover {
@ -1480,10 +1483,12 @@ $claim-preview-progress-bar-height: 5px;
} }
@media (min-width: $breakpoint-small) { @media (min-width: $breakpoint-small) {
.claim-preview--tile:not(:hover), @media (any-pointer: fine) {
.claim-preview__wrapper:not(:hover) { .claim-preview--tile:not(:hover),
.claim__menu-button:not(:focus):not([aria-expanded='true']) { .claim-preview__wrapper:not(:hover) {
opacity: 0; .claim__menu-button:not(:focus):not([aria-expanded='true']) {
opacity: 0;
}
} }
} }
} }