Skip to content

Commit

Permalink
add viewport-fit=cover to use css env() get safe-area in ios pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
rootknight authored and fguillot committed May 18, 2024
1 parent d6deac1 commit 8ab0a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/template/templates/common/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>{{template "title" .}} - Miniflux</title>

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Miniflux">
<link rel="manifest" href="{{ route "webManifest" }}" crossorigin="use-credentials">
Expand Down

0 comments on commit 8ab0a19

Please sign in to comment.