diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-08 18:57:58 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-08 18:57:58 +0100 |
| commit | f33e81d6fd2975d235313e4ee0d490d25be19cd2 (patch) | |
| tree | 87723fdda83b49876752df2ee7a4c6c617a1d614 /src/frontend/app/components/StopSheet.css | |
| parent | f4ea04764cf8748a1a7452363df42d2f2264e984 (diff) | |
Fix scrolling on mobile finally!
Diffstat (limited to 'src/frontend/app/components/StopSheet.css')
| -rw-r--r-- | src/frontend/app/components/StopSheet.css | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/frontend/app/components/StopSheet.css b/src/frontend/app/components/StopSheet.css index 41dfbe0..31770a1 100644 --- a/src/frontend/app/components/StopSheet.css +++ b/src/frontend/app/components/StopSheet.css @@ -4,6 +4,15 @@ touch-action: none; } +/*.react-modal-sheet-content > * > *:not(.stop-sheet-actions){ + interactivity: inert; +}*/ + +.react-modal-sheet-content-scroller { + overscroll-behavior-y: unset !important; + overflow-y: unset !important; +} + .stop-sheet-content { padding: 16px; display: flex; @@ -45,7 +54,6 @@ scrollbar-width: thin; gap: 0.5rem 1rem; overflow-x: scroll; - overflow-y: auto; } .stop-sheet-lines-container.scrollable::-webkit-scrollbar { @@ -72,7 +80,6 @@ .stop-sheet-estimates { flex: 1; - overflow-y: auto; min-height: 0; margin-block-start: 1.25rem; } |
