Skip to content

Commit

Permalink
UI Experiment: 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 c2b35ad commit 94f7708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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-svh max-h-svh min-h-svh bg-base-100"
className="grid !h-dvh bg-base-100"
{...getRootProps()}
onClick={undefined}
>
Expand Down
2 changes: 2 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +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;
}

code {
Expand Down

0 comments on commit 94f7708

Please sign in to comment.