diff --git a/src/components/secret/secret.tsx b/src/components/secret/secret.tsx
index 35c96e7..c444209 100644
--- a/src/components/secret/secret.tsx
+++ b/src/components/secret/secret.tsx
@@ -3,10 +3,10 @@ import { StyledCard, StyledHeader } from '../common/common'
import ErrorOutline from '@mui/icons-material/ErrorOutline'
import CheckCircleOutline from '@mui/icons-material/CheckCircleOutline'
-import Box from '@mui/material/Box'
import Tooltip from '@mui/material/Tooltip'
import Typography from '@mui/material/Typography'
import SecretInput from './secretInput'
+import Grid from '@mui/material/Grid'
export interface ISecretProps {
value?: string
@@ -30,25 +30,22 @@ export default function Secret(props: ISecretProps) {
<>
{'Secret'}
-
-
- {isVerified ? (
-
-
-
- ) : (
-
-
-
- )}
-
+
+
+
+
+
+ {isVerified ? (
+
+
+
+ ) : (
+
+
+
+ )}
+
+
>
)
diff --git a/src/components/secret/secretInput.tsx b/src/components/secret/secretInput.tsx
index 937e79f..219be35 100644
--- a/src/components/secret/secretInput.tsx
+++ b/src/components/secret/secretInput.tsx
@@ -142,7 +142,6 @@ export default function SecretInput(props: ISecretInputProps) {
)
}
- sx={{ width: '50%' }}
PopperComponent={CustomPopper}
ListboxProps={{
style: {
diff --git a/src/src/util.ts b/src/src/util.ts
index ed4b547..18ddd24 100644
--- a/src/src/util.ts
+++ b/src/src/util.ts
@@ -79,6 +79,6 @@ export const SecretManager = {
},
}
-export function ellipsePad(str: string, limit = 50) {
+export function ellipsePad(str: string, limit = 70) {
return str.length >= limit ? `${str.substring(0, limit - 3)}...` : str
}