Skip to content

Commit

Permalink
Fix overflow issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pinarruiz committed May 31, 2024
1 parent 04650db commit bb9a342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/variables/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function VariableForm(props: VariableFormProps) {
<Dialog open={openDialog} onOpenChange={setOpenDialog}>
<DialogTrigger asChild>{props.children}</DialogTrigger>
<DialogContent
className="transition-[padding] sm:p-8 px-6 rounded-md overflow-y-auto max-h-[90%] max-w-7xl md:w-[90%] w-[95%]"
className="transition-[padding] sm:p-8 px-6 rounded-md overflow-y-auto max-h-[90%] max-w-7xl md:w-[90%] w-[95%] flex flex-col"
onOpenAutoFocus={(e) => e.preventDefault()}
>
<DialogHeader>
Expand All @@ -61,7 +61,7 @@ export default function VariableForm(props: VariableFormProps) {
<div className="flex gap-2">
<CopyToClipboard value={envValue} />
</div>
<AccordionTrigger className="flex-grow">
<AccordionTrigger className="flex-grow break-all">
{envValue}
</AccordionTrigger>
</div>
Expand Down

0 comments on commit bb9a342

Please sign in to comment.