Skip to content

Commit

Permalink
fix: file dialog buttons on mobile (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilar6195 committed May 13, 2024
1 parent 5f77918 commit 8ac2a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/components/dialogs/FileDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function FileDialog() {
<Dialog open={isModalOpen} onOpenChange={onOpenChange}>
<DialogContent
className={cn(
'h-[calc(100vh-6rem)] md:w-[calc(100vw-6rem)] md:h-[calc(100vh-6rem)] max-w-none bg-transparent border-none shadow-none p-0 flex justify-center items-center !pointer-events-none'
'h-[calc(100dvh-6rem)] md:w-[calc(100vw-6rem)] md:h-[calc(100dvh-6rem)] max-w-none bg-transparent border-none shadow-none p-0 flex justify-center items-center !pointer-events-none'
)}
>
<FileDialogToolbar file={selectedFile} type={currentType} />
Expand Down

0 comments on commit 8ac2a0f

Please sign in to comment.