mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-22 21:26:04 +00:00
swipe to scroll Explore on mobile
This commit is contained in:
@@ -4665,4 +4665,31 @@ fieldset[name=number-code] {
|
||||
|
||||
.device-phone .desktop * {
|
||||
touch-action: pan-x;
|
||||
}
|
||||
}
|
||||
|
||||
.device-phone .desktop::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.device-phone .window-body.item-container{
|
||||
/* Enable smooth scrolling on iOS */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
/* Allow vertical touch scrolling while preventing horizontal */
|
||||
touch-action: pan-y;
|
||||
|
||||
/* Base dimensions */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
/* Scrolling behavior */
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
|
||||
/* Hide scrollbars while keeping functionality */
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
.device-phone .window-body.item-container * {
|
||||
touch-action: pan-y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user