Merge nucleic/rustic-north-robin-niry into main
Mirrored from corpo c7630b2.
This commit is contained in:
+17
-1
@@ -153,7 +153,23 @@ const canonical = new URL('/', Astro.site);
|
||||
|
||||
html {
|
||||
min-width: 320px;
|
||||
background: var(--paper);
|
||||
/* Longhand on purpose, here and on body: the background-color value is the one
|
||||
thing Safari reads for its fills, and the shorthand form is how it silently
|
||||
goes missing (background: resets background-color when edited carelessly). */
|
||||
background-color: var(--paper);
|
||||
}
|
||||
|
||||
/* Desktop only: the page fits the viewport there, so the rubber band is pure
|
||||
decoration — and macOS Safari fills parts of that bounce from chrome-side
|
||||
surfaces the page cannot colour (the render-time tint sample, the refresh
|
||||
spinner well), which is where the band still leaked through after every
|
||||
page-side colour was right. No bounce, no surface to mis-fill. Phones keep
|
||||
the native feel: the page actually scrolls there, iOS honours body's
|
||||
background-color for the gap, and none would also cost pull-to-refresh. */
|
||||
@media (min-width: 721px) {
|
||||
html {
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user