fix: restore share and note scrolling on ios pwa
bare routes lacked a scrollport under overflow:hidden html/body. wide rich-text tables used overflow-x:auto alone, which computes overflow-y:auto and traps vertical touch on iphone. force ink palette on /s/* for a consistent public share look.
This commit is contained in:
@@ -64,6 +64,9 @@
|
||||
margin: 0.8em 0;
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overscroll-behavior-x: contain;
|
||||
padding: 0.75rem 0.9rem;
|
||||
}
|
||||
|
||||
@@ -91,7 +94,12 @@
|
||||
display: block;
|
||||
margin: 0.8em 0;
|
||||
max-width: 100%;
|
||||
/* overflow-x alone computes overflow-y to auto, which traps vertical
|
||||
touch scrolling on iOS when a wide table fills the viewport. */
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overscroll-behavior-x: contain;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user