Skip to content

Commit

Permalink
Better android chrome full height page fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slavikdenis committed Dec 1, 2020
1 parent 75d2b56 commit a8f174a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/timer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,9 @@ const Timer = () => {
flexDir="column"
alignItems="center"
justifyContent="center"
// height="100vh"
css={css`
height: 100vh;
// https://dev.to/peiche/100vh-behavior-on-chrome-2hm8
@supports (-webkit-appearance: none) {
height: calc(100vh - 56px);
}
max-height: -webkit-fill-available;
`}
>
{!didTimerStarted ? (
Expand Down

1 comment on commit a8f174a

@vercel
Copy link

@vercel vercel bot commented on a8f174a Dec 1, 2020

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.