mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
fix(ui): show one column in phone
This commit is contained in:
@@ -19,7 +19,7 @@ export function AntSwordTabContent({
|
|||||||
<TabsContent value="AntSword">
|
<TabsContent value="AntSword">
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="space-y-2 mt-4">
|
<CardContent className="space-y-2 mt-4">
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
||||||
<UrlPatternFormField form={form} />
|
<UrlPatternFormField form={form} />
|
||||||
</div>
|
</div>
|
||||||
@@ -35,14 +35,14 @@ export function AntSwordTabContent({
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="headerName"
|
name="headerName"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="gap-1">
|
<FormItem className="gap-1">
|
||||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerName")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -54,7 +54,7 @@ export function AntSwordTabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export function BehinderTabContent({
|
|||||||
<TabsContent value="Behinder">
|
<TabsContent value="Behinder">
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="space-y-2 mt-4">
|
<CardContent className="space-y-2 mt-4">
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
||||||
<UrlPatternFormField form={form} />
|
<UrlPatternFormField form={form} />
|
||||||
</div>
|
</div>
|
||||||
@@ -35,14 +35,14 @@ export function BehinderTabContent({
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="headerName"
|
name="headerName"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="gap-1">
|
<FormItem className="gap-1">
|
||||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerName")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -54,7 +54,7 @@ export function BehinderTabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default function CustomTabContent({
|
|||||||
<TabsContent value="Custom">
|
<TabsContent value="Custom">
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="space-y-2 mt-4">
|
<CardContent className="space-y-2 mt-4">
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
||||||
<UrlPatternFormField form={form} />
|
<UrlPatternFormField form={form} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,11 +19,11 @@ export function GodzillaTabContent({
|
|||||||
<TabsContent value="Godzilla">
|
<TabsContent value="Godzilla">
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="space-y-2 mt-4">
|
<CardContent className="space-y-2 mt-4">
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
||||||
<UrlPatternFormField form={form} />
|
<UrlPatternFormField form={form} />
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="godzillaPass"
|
name="godzillaPass"
|
||||||
@@ -32,7 +32,7 @@ export function GodzillaTabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.pass")} {t("optional")}
|
{t("shellToolConfig.pass")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.pass")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -44,7 +44,7 @@ export function GodzillaTabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.key")} {t("optional")}
|
{t("shellToolConfig.key")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.key")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -54,7 +54,7 @@ export function GodzillaTabContent({
|
|||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="gap-1">
|
<FormItem className="gap-1">
|
||||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerName")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -66,7 +66,7 @@ export function GodzillaTabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -19,18 +19,18 @@ export function NeoRegTabContent({
|
|||||||
<TabsContent value="NeoreGeorg">
|
<TabsContent value="NeoreGeorg">
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="space-y-2 mt-4">
|
<CardContent className="space-y-2 mt-4">
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
||||||
<UrlPatternFormField form={form} />
|
<UrlPatternFormField form={form} />
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="headerName"
|
name="headerName"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="gap-1">
|
<FormItem className="gap-1">
|
||||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerName")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -42,7 +42,7 @@ export function NeoRegTabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -19,18 +19,18 @@ export function Suo5TabContent({
|
|||||||
<TabsContent value="Suo5">
|
<TabsContent value="Suo5">
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="space-y-2 mt-4">
|
<CardContent className="space-y-2 mt-4">
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
<ShellTypeFormField form={form} shellTypes={shellTypes} />
|
||||||
<UrlPatternFormField form={form} />
|
<UrlPatternFormField form={form} />
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="headerName"
|
name="headerName"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="gap-1">
|
<FormItem className="gap-1">
|
||||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerName")}</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerName")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
@@ -42,7 +42,7 @@ export function Suo5TabContent({
|
|||||||
<FormLabel className="h-6 flex items-center gap-1">
|
<FormLabel className="h-6 flex items-center gap-1">
|
||||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user