Fixing UI, UX, and bugs in the dashboard

This commit is contained in:
Vladyslav Matsiiako
2023-04-08 17:30:28 -07:00
parent c40546945f
commit ecb182ad03
12 changed files with 312 additions and 163 deletions
@@ -29,7 +29,7 @@ const SecretValue = ({ workspaceId, env, envName, secretKey }: SecretValueProps)
return (
<FormControl label={envName}>
<Input
className="w-full text-ellipsis font-mono focus:text-bunker-100 focus:ring-transparent"
className={`w-full text-ellipsis font-mono focus:ring-transparent ${getValue(secret) === "Not found" && "text-mineshaft-500"}`}
value={getValue(secret)}
isReadOnly
rightIcon={isSecretsLoading ? <Spinner /> : undefined}