Skip to content

Commit 71decad

Browse files
committed
fix: adjust dimensions in SettingsDialog for improved layout
1 parent 2394311 commit 71decad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/components/settings/settings-dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ interface SettingsDialogProps {
1616
export function SettingsDialog({ open, onOpenChange }: SettingsDialogProps) {
1717
return (
1818
<Dialog open={open} onOpenChange={onOpenChange}>
19-
<DialogContent className="min-w-[800px] h-[600px] overflow-hidden p-0 gap-0">
19+
<DialogContent className="min-w-200 h-150 overflow-hidden p-0 gap-0">
2020
<DialogTitle className="hidden">Settings</DialogTitle>
2121
<Tabs defaultValue="models" orientation="vertical" className="flex h-full w-full">
2222
{/* Sidebar */}
23-
<div className="w-[240px] bg-muted/30 border-r h-full flex flex-col shrink-0">
23+
<div className="w-60 bg-muted/30 border-r h-full flex flex-col shrink-0">
2424
<div className="p-6 pb-4">
2525
<h2 className="text-lg font-semibold tracking-tight">设置</h2>
2626
<p className="text-sm text-muted-foreground">Firebringer Preferences</p>
@@ -45,7 +45,7 @@ export function SettingsDialog({ open, onOpenChange }: SettingsDialogProps) {
4545
</div>
4646

4747
{/* Content Area */}
48-
<div className="flex-1 h-[600px] bg-background flex flex-col ">
48+
<div className="flex-1 h-150 bg-background flex flex-col ">
4949

5050
{/* General Settings */}
5151
<TabsContent value="general" className="h-full overflow-y-auto m-0">

0 commit comments

Comments
 (0)