Skip to content

Commit 1b5b34c

Browse files
committed
stack fields update
1 parent 9d7bb3f commit 1b5b34c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ui/layouts/NonEditableConfig/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const NonEditableConfig: React.FC<{ details: any }> = ({ details }) => {
3030
return (
3131
<>
3232
{flavor?.config_schema?.properties[elementName].sensitive ? (
33-
<Box marginTop="lg" style={{ width: '329px' }}>
33+
<Box marginTop="lg" style={{ width: '417px' }}>
3434
<EditField
3535
disabled
3636
// onKeyDown={(e: any) => onPressEnter(e, 'string', elementName)}
@@ -44,7 +44,7 @@ export const NonEditableConfig: React.FC<{ details: any }> = ({ details }) => {
4444
/>
4545
</Box>
4646
) : (
47-
<Box marginTop="lg">
47+
<Box marginTop="lg" style={{ width: '417px' }}>
4848
<EditField
4949
disabled
5050
// onKeyDown={(e: any) => onPressEnter(e, 'string', elementName)}
@@ -75,7 +75,7 @@ export const NonEditableConfig: React.FC<{ details: any }> = ({ details }) => {
7575
<label htmlFor="key">{titleCase(elementName)}</label>
7676
</Paragraph>
7777
</Box>
78-
<FlexBox marginTop="sm" fullWidth>
78+
<FlexBox marginTop="sm" style={{ width: '417px' }}>
7979
<textarea
8080
disabled
8181
className={styles.textArea}
@@ -118,7 +118,7 @@ export const NonEditableConfig: React.FC<{ details: any }> = ({ details }) => {
118118
// }
119119
if (flavor?.config_schema?.properties[elementName]?.type === 'object') {
120120
return (
121-
<Box marginTop="lg" style={{ width: '100%' }}>
121+
<Box marginTop="lg" style={{ width: '417px' }}>
122122
<Paragraph size="body" style={{ color: 'black' }}>
123123
<label htmlFor={elementName}>{titleCase(elementName)}</label>
124124
</Paragraph>
@@ -343,7 +343,7 @@ export const NonEditableConfig: React.FC<{ details: any }> = ({ details }) => {
343343
&#x27A4;
344344
</div>
345345

346-
<div className="form-group col-sm-8">
346+
<div className="form-group" style={{ width: '390px' }}>
347347
<EditField
348348
disabled
349349
className={styles.field}
@@ -456,7 +456,7 @@ export const NonEditableConfig: React.FC<{ details: any }> = ({ details }) => {
456456
<FlexBox.Column marginTop="xl" fullWidth>
457457
<FlexBox.Row flexDirection="column">
458458
{/* <Container> */}
459-
<Box style={{ width: '80%' }}>
459+
<Box style={{ width: '417px' }}>
460460
<EditField
461461
disabled
462462
onChangeText={() => console.log('')}

0 commit comments

Comments
 (0)