Skip to content

Commit 6d4a139

Browse files
committed
Spacing for secrets
Signed-off-by: Trung Nguyen <[email protected]>
1 parent 5169517 commit 6d4a139

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/extension/ui/src/components/tile/ConfigEditor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,15 @@ const ConfigEditor = ({
8282
return (
8383
<Stack spacing={1}>
8484
<Typography variant="subtitle2">Parameters</Typography>
85-
<Stack direction="column" spacing={2}>
85+
<Stack direction="column" spacing={1}>
8686
{Object.keys(flattenedConfig).map((key: string) => {
8787
const edited = localConfig[key] !== flattenedConfig[key];
8888
const isSaving = savingKeys.has(key);
8989

9090
return (
9191
<Stack key={key} direction="row" spacing={2}>
9292
<TextField
93+
fullWidth
9394
size="small"
9495
label={key}
9596
value={localConfig[key] || ''}

src/extension/ui/src/components/tile/Modal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ const ConfigurationModal = ({
252252
<Stack
253253
spacing={1}
254254
sx={{
255+
padding: 1,
255256
overflow: 'auto',
256257
height: 'calc(80vh - 200px)',
257258
minHeight: '180px',
@@ -272,12 +273,13 @@ const ConfigurationModal = ({
272273
<Stack
273274
spacing={1}
274275
sx={{
276+
padding: 1,
275277
overflow: 'auto',
276278
height: 'calc(80vh - 200px)',
277279
minHeight: '180px',
278280
}}
279281
>
280-
<Stack direction="column" spacing={2}>
282+
<Stack direction="column" spacing={2} >
281283
<ConfigEditor catalogItem={catalogItem} client={client} />
282284

283285
{catalogItem.secrets?.length > 0 && (

0 commit comments

Comments
 (0)