Fix #21 respect safe areas on ios safari

This commit is contained in:
Max Nuding 2023-04-11 16:21:15 +02:00
parent 6c9546b74a
commit 4fbd9a260f
Signed by: phlaym
GPG Key ID: A06651BAB6777237
4 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@
"license": "LGPL-3.0-or-later",
"scripts": {
"dev": "vite dev",
"devn": "vite dev --host",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",

View File

@ -10,9 +10,8 @@
<meta name="apple-mobile-web-app-title" content="Moshing Mammut" />
<meta name="application-name" content="Moshing Mammut" />
<meta name="msapplication-TileColor" content="#2e0b78" />
<meta name="theme-color" content="#2e0b78" />
<link rel="stylesheet" href="%sveltekit.assets%/style.css" />
<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="#17063b" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#BCB9B2" media="(prefers-color-scheme: light)" />
<link rel="alternate" type="application/atom+xml" href="/feed.xml" title="Atom Feed" />

View File

@ -42,6 +42,7 @@
padding: 0.3em 1em;
margin: 0 -8px;
border-radius: 3px;
padding-bottom: env(safe-area-inset-bottom);
}
.icon {
position: relative;

View File

@ -41,6 +41,7 @@
display: flex;
flex-direction: column;
flex-grow: 2;
word-break: break-word;
}
.meta {
display: flex;