Open tigt opened 1 year ago
PR Preview Action v1.1.1
:---:
:rocket: Deployed preview to https://marko-js.github.io/website/./pr-86/
on branch gh-pages
at 2022-08-31 14:13 UTC
Site now only overflows horizontally below 254 pixels wide — a big improvement over the previous 875px on the homepage and 966px on docs pages
html { overflow-x: hidden }
truncated content on the homepage, so it was a no-go.Ironically the site now renders a lot better in IE11, despite it not supporting <foreignObject>
.
I deleted the preventOverscroll()
method in <layout-sidebar>
and replaced it with CSS’s overscroll-behavior: contain
. The JS wasn’t even preventing overscroll for me on Firefox+MacOS+Touchpad, but the CSS does! overscroll-behavior
’s browser support is great except for Safari — and on mobile where most of Safari happens, preventing overscroll isn’t really needed since the sidebar overlay takes up the entire viewport.
The <foreignObject>
change also fixes the huge blank overscroll area on the homepage, as seen here:
a11y work I did in a fugue state, pushing up so I don't forget