fix filters button position

Signed-off-by: Virginie Ky <virginie.ky@gmail.com>
This commit is contained in:
Virginie Ky 2020-02-06 14:20:49 +01:00
parent 33ce7dc7cd
commit 159521a8de

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}>