mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
feat: compact mode
This commit is contained in:
@@ -36,7 +36,7 @@ export function CopyableField({ label, value, text }: Readonly<CopyableFieldProp
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-1 py-1">
|
<div className="flex flex-col gap-1 py-1">
|
||||||
<div className="flex items-center justify-between gap-2 h-8">
|
<div className="flex items-center justify-between gap-2 h-6">
|
||||||
<Label className="text-sm text-muted-foreground">{label}:</Label>
|
<Label className="text-sm text-muted-foreground">{label}:</Label>
|
||||||
{value && (
|
{value && (
|
||||||
<CopyToClipboard text={value} onCopy={handleCopy}>
|
<CopyToClipboard text={value} onCopy={handleCopy}>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export function BasicInfo({ generateResult }: Readonly<{ generateResult?: Genera
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{generateResult?.shellConfig.shellTool !== ShellToolType.Custom && <Separator className="my-2" />}
|
{generateResult?.shellConfig.shellTool !== ShellToolType.Custom && <Separator className="my-1" />}
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
{generateResult?.shellConfig.shellTool === ShellToolType.Behinder && (
|
{generateResult?.shellConfig.shellTool === ShellToolType.Behinder && (
|
||||||
<>
|
<>
|
||||||
@@ -122,7 +122,7 @@ export function BasicInfo({ generateResult }: Readonly<{ generateResult?: Genera
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<Separator className="my-2" />
|
<Separator className="my-1" />
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||||
<CopyableField
|
<CopyableField
|
||||||
label={t("mainConfig.injectorClassName")}
|
label={t("mainConfig.injectorClassName")}
|
||||||
|
|||||||
Reference in New Issue
Block a user