fix: meta attributes add viewport-fit cover

This commit is contained in:
shuai 2023-04-20 15:08:55 +08:00
parent 61cb84ac06
commit f859aa2fba
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta name="generator" content="Answer - https://github.com/answerdev/answer"> <meta name="generator" content="Answer - https://github.com/answerdev/answer">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

View File

@ -102,6 +102,8 @@ a {
} }
#root > footer { #root > footer {
margin-top: auto !important; margin-top: auto !important;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
} }
.bg-f5 { .bg-f5 {