Skip to content

Commit 1a84c0e

Browse files
fix: add a column gap to tanstack inputs (#985)
Closes: cheminfo/nmrium#4014
1 parent 166fcd8 commit 1a84c0e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/form/components/input_groups/form_group.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const FormContainer = styled.div<{
1717
margin: 0;
1818
grid-template-columns: ${(props) =>
1919
props.layout === 'inline' ? '[label] 30% [input] 70%' : '1fr'};
20+
column-gap: 20px;
2021
grid-template-rows: ${(props) =>
2122
props.layout === 'inline' ? 'auto auto' : 'auto'};
2223
`;

stories/components/form/tanstack/new-general-settings.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
} as Meta;
2727

2828
const StyledForm = styled(Form)`
29-
max-width: 762px;
29+
max-width: 605px;
3030
display: flex;
3131
flex-direction: column;
3232
`;

0 commit comments

Comments
 (0)