Test fix: Prevent pull-to-refresh on Chrome PWA

This commit is contained in:
Lim Chee Aun 2023-08-07 16:11:11 +08:00
parent 794ee3cb74
commit e53f0efde9

View file

@ -115,6 +115,14 @@ body {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
/* Prevent pull-to-refresh on Chrome PWA */
@media (display-mode: standalone) {
html,
body {
overscroll-behavior-y: none;
}
}
a { a {
color: var(--link-color); color: var(--link-color);
text-decoration-color: var(--link-faded-color); text-decoration-color: var(--link-faded-color);