mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
🐛 Fixed posts list scrolling and missing momentum scroll on all screens in iOS
closes https://github.com/TryGhost/Ghost/issues/9494, refs https://github.com/TryGhost/Ghost/issues/10365 - removed `overflow-y: auto` on posts list to fix the vertical scrolling - added `overflow-wrap: break-word` so that post previews are forced to wrap for long words such as URLs - added `-webkit-overflow-scrolling: touch` to the main scrollable pane so that iOS Safari uses momentum scrolling
This commit is contained in:
parent
b30a81c3f8
commit
42eb736b15
@ -105,7 +105,6 @@
|
||||
|
||||
.content-list {
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.content-list ol {
|
||||
@ -140,6 +139,7 @@
|
||||
margin: 0;
|
||||
font-size: 1.6rem;
|
||||
font-weight: 300;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
overflow-y: auto;
|
||||
/* prevent horizontal scroll in IE11 */
|
||||
overflow-x: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
/* Flexbox fix. https://github.com/TryGhost/Ghost/issues/5804#issuecomment-141416812 */
|
||||
|
Loading…
Reference in New Issue
Block a user