Skip to content

Commit

Permalink
fix: limit maxheight for modals
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Dec 19, 2023
1 parent fadeb99 commit f6a43ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Modal({
position == "top" && "items-start pt-20"
)}
className="rounded-lg shadow-xl bg-white dark:bg-surface-01dp w-full max-w-md overflow-x-hidden relative p-5 cursor-auto mx-5"
style={{ content: { maxHeight: "90vh" } }}
style={{ content: { maxHeight: "80vh" } }}
>
{title && (
<h2 className="text-2xl font-bold dark:text-white mb-6">{title}</h2>
Expand Down

0 comments on commit f6a43ba

Please sign in to comment.