Skip to content

Commit

Permalink
only set pwa-padding in standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpereira committed Feb 9, 2023
1 parent 2c68809 commit 345b833
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ input {
scrollbar-width: none; /* Firefox */
}

.pwa-padding {
padding-top: env(safe-area-inset-top) !important;
}
@media (display-mode: standalone), (display-mode: fullscreen) {
.pwa-padding {
padding-top: env(safe-area-inset-top) !important;
}

@media (display-mode: standalone) {
.safari-pwa-height {
!height: 100lvh;
height: 100lvh !important;
}
}

1 comment on commit 345b833

@vercel
Copy link

@vercel vercel bot commented on 345b833 Feb 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.