Skip to content

Commit f658dd4

Browse files
committed
Finished
1 parent 5581ffe commit f658dd4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

packages/twenty-front/src/modules/ui/input/components/ImageInput.tsx

+4-7
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ const StyledContent = styled.div`
5454
flex-direction: column;
5555
justify-content: start;
5656
margin-left: ${({ theme }) => theme.spacing(4)};
57-
gap:5px;
57+
58+
gap: ${({ theme }) => theme.spacing(3)};
5859
`;
5960

6061
const StyledButtonContainer = styled.div`
6162
display: flex;
6263
flex-direction: row;
63-
> * + * {
64-
margin-left: ${({ theme }) => theme.spacing(2)};
65-
}
64+
65+
gap: ${({ theme }) => theme.spacing(2)};
6666
`;
6767

6868
const StyledText = styled.span`
@@ -144,7 +144,6 @@ export const ImageInput = ({
144144
variant="secondary"
145145
title="Abort"
146146
disabled={!pictureURI || disabled}
147-
fullWidth
148147
/>
149148
) : (
150149
<Button
@@ -153,7 +152,6 @@ export const ImageInput = ({
153152
variant="secondary"
154153
title="Upload"
155154
disabled={disabled}
156-
fullWidth
157155
/>
158156
)}
159157
<Button
@@ -162,7 +160,6 @@ export const ImageInput = ({
162160
variant="secondary"
163161
title="Remove"
164162
disabled={!pictureURI || disabled}
165-
fullWidth
166163
/>
167164
</StyledButtonContainer>
168165
<StyledText>

0 commit comments

Comments
 (0)