lower opacity for command input while its not ready

This commit is contained in:
x032205
2025-10-17 23:29:52 -04:00
parent 4c1b13d959
commit 91bcc22d1b
2 changed files with 2 additions and 2 deletions
@@ -211,7 +211,7 @@ export const DeployGatewayModal = ({ isOpen, onOpenChange }: Props) => {
<FormLabel label="CLI Command" className="mt-4" />
<div className="flex gap-2">
<Input value={command} isDisabled isError={!isCommandReady} />
<Input value={command} isDisabled className={isCommandReady ? "" : "opacity-50"} />
<IconButton
ariaLabel="copy"
variant="outline_bg"
@@ -171,7 +171,7 @@ export const DeployRelayModal = ({ isOpen, onOpenChange }: Props) => {
<FormLabel label="CLI Command" className="mt-4" />
<div className="flex gap-2">
<Input value={command} isDisabled isError={!isCommandReady} />
<Input value={command} isDisabled className={isCommandReady ? "" : "opacity-50"} />
<IconButton
ariaLabel="copy"
variant="outline_bg"