fix: adjust ModelsDialog component to set a maximum width for better layout consistency

This commit is contained in:
Junyan Qin
2026-01-03 01:06:17 +08:00
parent 914f77ff37
commit b295416e6c

View File

@@ -428,7 +428,7 @@ export default function ModelsDialog({
onOpenChange(newOpen);
}}
>
<DialogContent className="overflow-hidden p-0 h-[80vh] flex flex-col">
<DialogContent className="overflow-hidden p-0 h-[80vh] flex flex-col !max-w-[37rem]">
<DialogHeader className="px-6 pt-6 pb-0">
<DialogTitle>{t('models.title')}</DialogTitle>
</DialogHeader>