From 6ff83ee92af939141ea37ec276cba81b3d8404b0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 20 Feb 2026 20:46:37 +0800 Subject: [PATCH] style(admin): improve model toggle layout to avoid label wrapping --- .../settings/admin-settings-client.tsx | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/app/(admin)/settings/admin-settings-client.tsx b/app/(admin)/settings/admin-settings-client.tsx index 4f718a07c..af0c87bd0 100644 --- a/app/(admin)/settings/admin-settings-client.tsx +++ b/app/(admin)/settings/admin-settings-client.tsx @@ -5805,23 +5805,32 @@ export function AdminSettingsClient() { checked={modelForm.supportsVision} onCheckedChange={(checked) => setModelForm({ ...modelForm, supportsVision: checked })} /> - +
setModelForm({ ...modelForm, supportsImageGen: checked })} /> - +
-
-
- setModelForm({ ...modelForm, isEnabled: checked })} - /> - +
+
+
+ setModelForm({ ...modelForm, isEnabled: checked })} + /> + +
+
+ setModelForm({ ...modelForm, isDefault: checked })} + /> + +
-
- setModelForm({ ...modelForm, isDefault: checked })} - /> - -