You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On touch devices like iPhones, iPads etc. the website is padded by the browser to avoid content under UI-elements like the "slide for home screen"-bar, camera notch etc. In this area the gradient background is not visible and the website might also get double padding in some elements close to the edges.
Do you have examples of this feature in other projects?
What version of
starlight
are you using?0.6.0
What is your idea?
Update default styling to stretch beyond "safe area" on devices so styling is consistent on desktop and ex. mobile devices in landscape view.
Required changes:
viewport-fit=cover
in theviewport
meta-tagbody
or.page
+ any fixed-positioned items like<header>
to avoid conflicts with UI-elements/camera on devicesCSS environment-variables named
safe-area-inset-*
exist to dynamically provide the correct padding-values per device.Why is this feature necessary?
Copied from withastro/docs#2270. Same result in a new Starlight-project
On touch devices like iPhones, iPads etc. the website is padded by the browser to avoid content under UI-elements like the "slide for home screen"-bar, camera notch etc. In this area the gradient background is not visible and the website might also get double padding in some elements close to the edges.
Do you have examples of this feature in other projects?
Participation
The text was updated successfully, but these errors were encountered: