Skip to content

Commit b7248d6

Browse files
committed
fix(dashboard): increase maximum height of dialog components for better content visibility
1 parent e8a0bd5 commit b7248d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dashboard/src/components/dialogs/advance-search-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function AdvanceSearchModal({ isDialogOpen, onOpenChange, form, o
4646

4747
<Form {...form}>
4848
<form onSubmit={form.handleSubmit(onSubmit)} className="flex h-full flex-col justify-between space-y-4">
49-
<div className="-mr-4 max-h-[78dvh] overflow-y-auto px-2 pr-4 sm:max-h-[75dvh]">
49+
<div className="-mr-4 max-h-[80dvh] overflow-y-auto px-2 pr-4 sm:max-h-[75dvh]">
5050
<div className="flex w-full flex-1 flex-col gap-4 pb-4">
5151
<section className="w-full space-y-4">
5252
<div className="space-y-1">

dashboard/src/components/dialogs/client-template-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export default function ClientTemplateModal({ isDialogOpen, onOpenChange, form,
347347

348348
<Form {...form}>
349349
<form onSubmit={handleSubmit} className="space-y-4">
350-
<div className="-mr-4 max-h-[78dvh] space-y-4 overflow-y-auto px-2 pr-4 sm:max-h-[75dvh] pb-2">
350+
<div className="-mr-4 max-h-[80dvh] space-y-4 overflow-y-auto px-2 pr-4 sm:max-h-[75dvh] pb-2">
351351
<div className="grid grid-cols-1 gap-4 md:h-full md:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] md:gap-6">
352352
<div className="flex flex-col">
353353
<div className="flex flex-col space-y-4 md:h-full">

dashboard/src/components/dialogs/user-template-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export default function UserTemplateModal({ isDialogOpen, onOpenChange, form, ed
289289

290290
<Form {...form}>
291291
<form onSubmit={form.handleSubmit(onSubmit)} className="flex flex-col">
292-
<div className="-mr-4 flex max-h-[78dvh] flex-col items-start gap-4 overflow-y-auto px-2 pb-6 pr-4 sm:max-h-[75dvh] sm:flex-row">
292+
<div className="-mr-4 flex max-h-[80dvh] flex-col items-start gap-4 overflow-y-auto px-2 pb-6 pr-4 sm:max-h-[75dvh] sm:flex-row">
293293
<div className="w-full flex-1 space-y-4">
294294
<div className="flex w-full flex-row gap-2">
295295
<FormField

0 commit comments

Comments
 (0)