mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 17:29:14 +00:00
lower opacity for command input while its not ready
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ export const DeployGatewayModal = ({ isOpen, onOpenChange }: Props) => {
|
|||||||
|
|
||||||
<FormLabel label="CLI Command" className="mt-4" />
|
<FormLabel label="CLI Command" className="mt-4" />
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Input value={command} isDisabled isError={!isCommandReady} />
|
<Input value={command} isDisabled className={isCommandReady ? "" : "opacity-50"} />
|
||||||
<IconButton
|
<IconButton
|
||||||
ariaLabel="copy"
|
ariaLabel="copy"
|
||||||
variant="outline_bg"
|
variant="outline_bg"
|
||||||
|
|||||||
+1
-1
@@ -171,7 +171,7 @@ export const DeployRelayModal = ({ isOpen, onOpenChange }: Props) => {
|
|||||||
|
|
||||||
<FormLabel label="CLI Command" className="mt-4" />
|
<FormLabel label="CLI Command" className="mt-4" />
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Input value={command} isDisabled isError={!isCommandReady} />
|
<Input value={command} isDisabled className={isCommandReady ? "" : "opacity-50"} />
|
||||||
<IconButton
|
<IconButton
|
||||||
ariaLabel="copy"
|
ariaLabel="copy"
|
||||||
variant="outline_bg"
|
variant="outline_bg"
|
||||||
|
|||||||
Reference in New Issue
Block a user