mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 02:53:22 +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 =
|
||||
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}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user