Possible fix for 2-finger swipe-back not working

This commit is contained in:
Lim Chee Aun 2023-07-08 13:42:09 +08:00
parent 06c533cd47
commit 7d793f19b3

View file

@ -59,6 +59,12 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
/* This `transform` fixes carousel blocking vertical scrolling for pointer devices on iPad */
transform: translateZ(0);
}
@media (hover: hover) {
.deck-container {
overscroll-behavior: auto;
}
}
.deck-container[hidden] {
display: block;
position: absolute;
@ -88,6 +94,11 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
height: 100dvh;
overscroll-behavior: contain;
}
@media (hover: hover) {
.deck.contained {
overscroll-behavior: auto;
}
}
.deck > header {
position: sticky;