updated EnteDateTimePicker sizing

This commit is contained in:
Abhinav 2022-06-14 15:52:31 +05:30
parent 0d86a0dc3f
commit 135938b936
2 changed files with 9 additions and 1 deletions

View file

@ -39,6 +39,7 @@ export const IconButton = styled('button')`
`;
export const Row = styled('div')`
height: 32px;
display: flex;
align-items: center;
margin-bottom: ${({ theme }) => theme.spacing(2)};

View file

@ -28,7 +28,14 @@ const EnteDateTimePicker = ({ loading, value, onChange }: Props) => (
PopperProps={{ sx: { zIndex: '1502' } }}
value={value}
onChange={onChange}
renderInput={(params) => <TextField {...params} />}
renderInput={(params) => (
<TextField
{...params}
hiddenLabel
margin="none"
variant="standard"
/>
)}
/>
</LocalizationProvider>
</>