File tree Expand file tree Collapse file tree 4 files changed +15
-5
lines changed
organisms/MetadataContainer/molecules Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const FormColorSelect = ({
15
15
} : FormColorSelectProps ) => {
16
16
const [ open , setOpen ] = useState ( false )
17
17
return (
18
- < Container >
18
+ < Container className = 'form__color__select' >
19
19
< FormInput
20
20
{ ...rest }
21
21
readOnly = { true }
@@ -34,7 +34,6 @@ const FormColorSelect = ({
34
34
const Container = styled . div `
35
35
display: inline-block;
36
36
position: relative;
37
- width: 100%;
38
37
39
38
& > .form__color__selector {
40
39
position: absolute;
Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ const StyledInput = styled.input`
118
118
background: none;
119
119
border: 1px solid ${ ( { theme } ) => theme . colors . border . main } ;
120
120
color: ${ ( { theme } ) => theme . colors . text . primary } ;
121
- width: 100%;
122
121
123
122
&:read-only {
124
123
background: ${ ( { theme } ) => theme . colors . background . secondary } ;
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ export const StatusEditor = <T extends LabelLike>({
237
237
} , [ ] )
238
238
239
239
return (
240
- < MetadataContainer >
240
+ < StyledStatusEditor >
241
241
< MetadataContainerRow
242
242
row = { { type : 'header' , content : `${ type . toUpperCase ( ) } TITLE` } }
243
243
/>
@@ -271,10 +271,21 @@ export const StatusEditor = <T extends LabelLike>({
271
271
} }
272
272
/>
273
273
) }
274
- </ MetadataContainer >
274
+ </ StyledStatusEditor >
275
275
)
276
276
}
277
277
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
+
278
289
const Container = styled . div `
279
290
.autocomplete__input {
280
291
line-height: inherit !important;
Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ const Container = styled.div`
191
191
.metadata__item__header {
192
192
text-transform: uppercase;
193
193
color: ${ ( { theme } ) => theme . colors . text . subtle } !important;
194
+ margin-left: ${ ( { theme } ) => theme . sizes . spaces . df } px;
194
195
}
195
196
`
196
197
You can’t perform that action at this time.
0 commit comments