Skip to content

Commit

Permalink
Add top safe-area-inset to accomodate iPhone X notch.
Browse files Browse the repository at this point in the history
  • Loading branch information
raychz committed Jan 20, 2020
1 parent d0751ae commit d4031e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/home/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ page-home {

.tabify-icon {
position: absolute;
top: 0;
top: constant(safe-area-inset-top);
top: env(safe-area-inset-top);
bottom: 0;
left: 0;
right: 0;
Expand Down

0 comments on commit d4031e1

Please sign in to comment.