mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 06:29:04 +00:00
fix: ui bug
This commit is contained in:
+11
-9
@@ -276,6 +276,7 @@ export const SecretDetailSidebar = ({
|
|||||||
key="secret-value"
|
key="secret-value"
|
||||||
control={control}
|
control={control}
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
<FormControl
|
<FormControl
|
||||||
helperText={
|
helperText={
|
||||||
cannotReadSecretValue ? (
|
cannotReadSecretValue ? (
|
||||||
@@ -293,25 +294,19 @@ export const SecretDetailSidebar = ({
|
|||||||
}
|
}
|
||||||
label="Value"
|
label="Value"
|
||||||
>
|
>
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
<InfisicalSecretInput
|
<InfisicalSecretInput
|
||||||
isReadOnly={isReadOnly}
|
isReadOnly={isReadOnly}
|
||||||
environment={environment}
|
environment={environment}
|
||||||
secretPath={secretPath}
|
secretPath={secretPath}
|
||||||
key="secret-value"
|
key="secret-value"
|
||||||
isDisabled={isOverridden || !isAllowed}
|
isDisabled={isOverridden || !isAllowed}
|
||||||
containerClassName="text-bunker-300 hover:border-primary-400/50 border border-mineshaft-600 bg-bunker-800 px-2 py-1.5"
|
containerClassName="text-bunker-300 w-full hover:border-primary-400/50 border border-mineshaft-600 bg-bunker-800 px-2 py-1.5"
|
||||||
{...field}
|
{...field}
|
||||||
autoFocus={false}
|
autoFocus={false}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</ProjectPermissionCan>
|
|
||||||
</div>
|
|
||||||
<div className="ml-1 mt-1.5 flex items-center">
|
|
||||||
<Button
|
<Button
|
||||||
className="w-full px-2 py-[0.43rem] font-normal"
|
className="px-2 py-[0.43rem] font-normal"
|
||||||
variant="outline_bg"
|
variant="outline_bg"
|
||||||
leftIcon={<FontAwesomeIcon icon={faShare} />}
|
leftIcon={<FontAwesomeIcon icon={faShare} />}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -324,6 +319,13 @@ export const SecretDetailSidebar = ({
|
|||||||
Share
|
Share
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</FormControl>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</ProjectPermissionCan>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mb-2 rounded border border-mineshaft-600 bg-mineshaft-900 p-4 px-0 pb-0">
|
<div className="mb-2 rounded border border-mineshaft-600 bg-mineshaft-900 p-4 px-0 pb-0">
|
||||||
<div className="mb-4 px-4">
|
<div className="mb-4 px-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user