Merge branch 'front/ui-improvements' of github.com:strapi/strapi into front/popupwarning

This commit is contained in:
Virginie Ky 2020-02-06 17:21:56 +01:00
commit 51aedd869f

View File

@ -47,11 +47,7 @@ function Input({ type, ...rest }) {
}
const styles =
type === 'boolean' ? { minWidth: '100px', maxWidth: '200px' } : style;
const wrapperStyle =
type === 'boolean' ||
['date', 'timestamp', 'time', 'datetime'].includes(type)
? { marginRight: '20px' }
: { marginRight: '10px' };
const wrapperStyle = { marginRight: '20px' };
return (
<InputWrapperDate type={type || 'text'} style={wrapperStyle}>