Skip to content

Commit 94687af

Browse files
committed
fix(pwa): adds transparency to status bar
1 parent 6c4d39c commit 94687af

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/common/navbar/NavbarComponent.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ nav {
131131
--navbar-text-color-hover-active: var(--white);
132132
--navbar-text-color-active: var(--white);
133133
134-
padding: 0 0.25rem;
134+
padding: env(safe-area-inset-top) 0.25rem 0;
135135
font-size: 12px;
136136
text-align: center;
137137
@@ -153,7 +153,7 @@ nav {
153153
.tabs {
154154
display: flex;
155155
justify-content: center;
156-
min-height: 2.75rem;
156+
min-height: layout.$header-navbar-height;
157157
158158
:deep(.n-tabs-capsule) {
159159
height: calc(#{layout.$header-navbar-height} - 0.75rem) !important;

src/index.html

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<link rel="mask-icon" href="./assets/favicon/safari-pinned-tab.svg" color="#5bbad5" />
1515
<meta name="msapplication-TileColor" content="#da532c" />
1616
<meta name="theme-color" content="#80000a" />
17+
<meta name="mobile-web-app-capable" content="yes">
18+
<meta name="apple-mobile-web-app-capable" content="yes">
19+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
20+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
1721
</head>
1822
<body>
1923
<wc-trakt-extension>

0 commit comments

Comments
 (0)