Commit 8a1dee1
committed
fix: enable horizontal scrolling on mobile devices
Changed CSS for .pdf-elements-root and .pages-container to allow
horizontal scrolling and proper touch event handling:
- overflow-x: hidden → overflow-x: auto
- overflow: hidden → overflow: visible
- Added touch-action: pan-x pan-y for proper touch gestures
- Added -webkit-overflow-scrolling: touch for smooth mobile scroll
Fixes: LibreSign issue #7341 - users couldn't scroll PDF horizontally
on mobile devices even when content was wider than viewport1 parent 3d200bf commit 8a1dee1
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1303 | 1303 | | |
1304 | 1304 | | |
1305 | 1305 | | |
1306 | | - | |
| 1306 | + | |
1307 | 1307 | | |
| 1308 | + | |
| 1309 | + | |
1308 | 1310 | | |
1309 | 1311 | | |
1310 | 1312 | | |
1311 | 1313 | | |
1312 | 1314 | | |
1313 | 1315 | | |
1314 | | - | |
| 1316 | + | |
1315 | 1317 | | |
1316 | 1318 | | |
1317 | 1319 | | |
| |||
0 commit comments