use -webkit-fill-available instead of 100vh
The approach of using 100vh interacts poorly with how Chromium and Safari calculate the viewport height on mobile. They include their navigation bar as part of the viewport height from the start to avoid dynamic changes to the viewport site.
This commit is contained in:
parent
6c68adf043
commit
1503d660d2
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/build"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/contact"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/donate"/>
|
||||
</head>
|
||||
|
@ -5,6 +5,7 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
min-height: -webkit-fill-available;
|
||||
font-family: Roboto, sans-serif;
|
||||
background-color: #fafafa; /* grey50 */
|
||||
color: rgba(0, 0, 0, 0.87); /* 87% black */
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/install"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/pdfviewer_privacy_policy"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/releases"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/source"/>
|
||||
</head>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<meta property="og:site_name" content="GrapheneOS"/>
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
|
||||
<link rel="mask-icon" href="/safari_pinned_tab_icon.svg" color="#000000"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?12"/>
|
||||
<link rel="stylesheet" href="/grapheneos.css?13"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/usage"/>
|
||||
</head>
|
||||
|
Loading…
x
Reference in New Issue
Block a user