client: fix expiration input on small screens

This commit is contained in:
Max Leiter 2022-03-30 21:22:55 -07:00
parent 88d14a40b1
commit 5da96a8f0a
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -178,7 +178,7 @@ const Post = () => {
id: generateUUID()
}])
}}
style={{ flex: .5, lineHeight: '40px' }}
style={{ flex: .7, lineHeight: '40px' }}
type="default"
>
Add a File
@ -190,7 +190,7 @@ const Post = () => {
}}>
{<DatePicker
onChange={onChangeExpiration}
customInput={<Input label="Expires at" clearable width="300px" height="40px" />}
customInput={<Input label="Expires at" clearable height="40px" />}
placeholderText="Won't expire"
selected={expiresAt}
showTimeInput={true}