Skip to content

Commit

Permalink
UI Experiment P2: fix offscreen elements on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Jul 24, 2024
1 parent 94f7708 commit 6801c2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/containers/Dropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Dropzone = ({ children }: PropsWithChildren) => {

return (
<div
className="grid !h-dvh bg-base-100"
className="grid !h-svh !max-h-svh bg-base-100"
{...getRootProps()}
onClick={undefined}
>
Expand Down
4 changes: 2 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ body {
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
max-height: 100dvh;
height: 100dvh;
max-height: 100svh !important;
height: 100svh !important;
}

code {
Expand Down

0 comments on commit 6801c2d

Please sign in to comment.