fix: remove duplicate CSS classes in InstallCommand component

This commit is contained in:
huihan3 2026-04-02 16:38:41 +08:00
parent cbc1ef25f7
commit 3b097c1c49

View file

@ -60,7 +60,7 @@ export function InstallCommand({ namespace, slug }: InstallCommandProps) {
{copied ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}
</Button>
<pre className="px-4 py-3 pr-14 whitespace-pre-wrap break-all">
<code className="font-mono text-[13px] leading-relaxed text-foreground whitespace-pre-wrap break-all sm:text-sm">
<code className="font-mono text-[13px] leading-relaxed text-foreground sm:text-sm">
{command}
</code>
</pre>