mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 22:32:02 +00:00
Merge branch 'front/ui-improvements' of github.com:strapi/strapi into front/popupwarning
This commit is contained in:
commit
51aedd869f
@ -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