mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-30 08:02:23 +03:00
parent
8eafc057fa
commit
a84a40e777
@ -26,7 +26,12 @@ export const DateValue = ({ value, onChange }: PropertyValueProps) => {
|
||||
const { parsedValue, displayValue } = useParsedDate(value);
|
||||
|
||||
return (
|
||||
<Menu items={<DatePicker value={parsedValue} onChange={onChange} />}>
|
||||
<Menu
|
||||
contentOptions={{
|
||||
style: BUILD_CONFIG.isMobileEdition ? { padding: '15px 20px' } : {},
|
||||
}}
|
||||
items={<DatePicker value={parsedValue} onChange={onChange} />}
|
||||
>
|
||||
<PropertyValue
|
||||
className={parsedValue ? '' : styles.empty}
|
||||
isEmpty={!parsedValue}
|
||||
|
Loading…
Reference in New Issue
Block a user