Skip to content

Commit c936a19

Browse files
committed
makes summary template dialogue larger to provide more space for text input
1 parent edbae94 commit c936a19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/frontend/src/components/SummaryTemplateDialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function SummaryTemplateDialog({ open, onOpenChange, onSave, initial }: S
6868

6969
return (
7070
<Dialog open={open} onOpenChange={onOpenChange}>
71-
<DialogContent className="sm:max-w-lg max-h-[85vh] overflow-y-auto bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700">
71+
<DialogContent className="sm:max-w-xl md:max-w-2xl lg:max-w-3xl xl:max-w-4xl max-h-[90vh] md:max-h-[92vh] overflow-y-auto bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700">
7272
<DialogHeader>
7373
<DialogTitle className="text-gray-900 dark:text-gray-100">{initial ? 'Edit Summary Template' : 'New Summary Template'}</DialogTitle>
7474
<DialogDescription className="text-gray-600 dark:text-gray-400">
@@ -101,8 +101,8 @@ export function SummaryTemplateDialog({ open, onOpenChange, onSave, initial }: S
101101
<div className="space-y-2">
102102
<Label className="text-gray-700 dark:text-gray-300">Prompt</Label>
103103
<Textarea
104-
rows={8}
105-
className="resize-y max-h-[50vh]"
104+
rows={10}
105+
className="resize-y min-h-40 sm:min-h-60 md:min-h-72 lg:min-h-[50vh] max-h-[65vh]"
106106
value={prompt}
107107
onChange={(e) => setPrompt(e.target.value)}
108108
placeholder="Write the summarization instructions..."

0 commit comments

Comments
 (0)