Skip to content

Commit ae4bd74

Browse files
authored
chore(connection-form): fix uri options table styling (#2911)
1 parent 9e250ae commit ae4bd74

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

packages/connection-form/src/components/advanced-options-tabs/advanced-tab/url-options-table.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ const optionNameCellStyles = css({
2929
width: spacing[5] * 9,
3030
});
3131

32-
const optionValueCellStyles = css({
33-
// width: '30%',
34-
});
35-
3632
const optionValueCellContentStyles = css({
3733
display: 'flex',
3834
flexDirection: 'row',
@@ -41,7 +37,7 @@ const optionValueCellContentStyles = css({
4137
});
4238

4339
const valueInputStyles = css({
44-
maxWidth: spacing[7],
40+
width: spacing[7],
4541
});
4642

4743
const deleteOptionButtonStyle = css({
@@ -193,7 +189,7 @@ function UrlOptionsTable({
193189
))}
194190
</Select>
195191
</Cell>
196-
<Cell className={optionValueCellStyles}>
192+
<Cell>
197193
<div className={optionValueCellContentStyles}>
198194
<TextInput
199195
onChange={(event: ChangeEvent<HTMLInputElement>) => {

packages/connection-form/src/components/advanced-options-tabs/advanced-tab/url-options.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import UrlOptionsTable from './url-options-table';
1414

1515
const urlOptionsContainerStyles = css({
1616
marginTop: spacing[3],
17-
width: '70%',
17+
width: spacing[6] * 7,
1818
});
1919

2020
const urlOptionsTableDescriptionStyles = css({

0 commit comments

Comments
 (0)