mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 16:52:18 +00:00
fix filters button position
Signed-off-by: Virginie Ky <virginie.ky@gmail.com>
This commit is contained in:
parent
33ce7dc7cd
commit
159521a8de
@ -47,11 +47,7 @@ function Input({ type, ...rest }) {
|
|||||||
}
|
}
|
||||||
const styles =
|
const styles =
|
||||||
type === 'boolean' ? { minWidth: '100px', maxWidth: '200px' } : style;
|
type === 'boolean' ? { minWidth: '100px', maxWidth: '200px' } : style;
|
||||||
const wrapperStyle =
|
const wrapperStyle = { marginRight: '20px' };
|
||||||
type === 'boolean' ||
|
|
||||||
['date', 'timestamp', 'time', 'datetime'].includes(type)
|
|
||||||
? { marginRight: '20px' }
|
|
||||||
: { marginRight: '10px' };
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<InputWrapperDate type={type || 'text'} style={wrapperStyle}>
|
<InputWrapperDate type={type || 'text'} style={wrapperStyle}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user