Skip to content

Commit f9d538c

Browse files
committed
remove design components change
1 parent cbe9b6a commit f9d538c

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

src/design/components/molecules/Form/atoms/FormColorSelect.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const FormColorSelect = ({
1515
}: FormColorSelectProps) => {
1616
const [open, setOpen] = useState(false)
1717
return (
18-
<Container>
18+
<Container className='form__color__select'>
1919
<FormInput
2020
{...rest}
2121
readOnly={true}
@@ -34,7 +34,6 @@ const FormColorSelect = ({
3434
const Container = styled.div`
3535
display: inline-block;
3636
position: relative;
37-
width: 100%;
3837
3938
& > .form__color__selector {
4039
position: absolute;

src/design/components/molecules/Form/atoms/FormInput.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ const StyledInput = styled.input`
118118
background: none;
119119
border: 1px solid ${({ theme }) => theme.colors.border.main};
120120
color: ${({ theme }) => theme.colors.text.primary};
121-
width: 100%;
122121
123122
&:read-only {
124123
background: ${({ theme }) => theme.colors.background.secondary};

src/design/components/molecules/LabelManager.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export const StatusEditor = <T extends LabelLike>({
237237
}, [])
238238

239239
return (
240-
<MetadataContainer>
240+
<StyledStatusEditor>
241241
<MetadataContainerRow
242242
row={{ type: 'header', content: `${type.toUpperCase()} TITLE` }}
243243
/>
@@ -271,10 +271,21 @@ export const StatusEditor = <T extends LabelLike>({
271271
}}
272272
/>
273273
)}
274-
</MetadataContainer>
274+
</StyledStatusEditor>
275275
)
276276
}
277277

278+
const StyledStatusEditor = styled(MetadataContainer)`
279+
.form__input,
280+
.form__color__select {
281+
width: 100% !important;
282+
}
283+
284+
.metadata__item__header {
285+
margin-left: 0 !important;
286+
}
287+
`
288+
278289
const Container = styled.div`
279290
.autocomplete__input {
280291
line-height: inherit !important;

src/design/components/organisms/MetadataContainer/molecules/MetadataContainerRow.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ const Container = styled.div`
191191
.metadata__item__header {
192192
text-transform: uppercase;
193193
color: ${({ theme }) => theme.colors.text.subtle} !important;
194+
margin-left: ${({ theme }) => theme.sizes.spaces.df}px;
194195
}
195196
`
196197

0 commit comments

Comments
 (0)