mirror of
https://github.com/strapi/strapi.git
synced 2026-01-07 12:45:45 +00:00
Merge pull request #13605 from strapi/ML-folder/ReactSelect-option-style
[ML Folder] React Select style fix
This commit is contained in:
commit
985b739b9d
@ -79,7 +79,15 @@ const getSelectStyles = (theme, error) => {
|
||||
backgroundColor = theme.colors.primary100;
|
||||
}
|
||||
|
||||
return { ...base, lineHeight: theme.spaces[5], backgroundColor, borderRadius: 4 };
|
||||
return {
|
||||
...base,
|
||||
lineHeight: theme.spaces[5],
|
||||
backgroundColor,
|
||||
borderRadius: theme.borderRadius,
|
||||
'&:active': {
|
||||
backgroundColor: theme.colors.primary100,
|
||||
},
|
||||
};
|
||||
},
|
||||
placeholder: base => ({ ...base, marginLeft: 0 }),
|
||||
singleValue: base => ({ ...base, marginLeft: 0, color: theme.colors.neutral800 }),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user