feat: enhance responsive layout and improve i18n support (#39)

This commit is contained in:
ReaJason
2025-02-19 22:21:17 +08:00
parent 3ccbd14256
commit 1b8a845635
12 changed files with 505 additions and 354 deletions
+5 -1
View File
@@ -69,7 +69,11 @@ export function PackageConfigCard({
<FormItem className="space-y-3">
<FormLabel className="h-6 flex items-center gap-1">{t("packageConfig.title")}</FormLabel>
<FormControl>
<RadioGroup onValueChange={field.onChange} value={field.value} className="grid grid-cols-3">
<RadioGroup
onValueChange={field.onChange}
value={field.value}
className="grid grid-cols-2 md:grid-cols-3"
>
{options.map(({ name, value }) => (
<FormItem key={value} className="flex items-center space-x-3 space-y-0">
<FormControl>