mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
@@ -109,7 +109,7 @@ export const JournalValue = ({ onChange }: PropertyValueProps) => {
|
||||
onClick: e => e.stopPropagation(),
|
||||
sideOffset: 10,
|
||||
alignOffset: -30,
|
||||
style: { padding: 20 },
|
||||
style: { padding: '15px 20px' },
|
||||
}}
|
||||
rootOptions={{
|
||||
modal: true,
|
||||
|
||||
@@ -251,7 +251,3 @@ export const journalDateCellDot = style({
|
||||
left: '50%',
|
||||
transform: 'translateX(-50%)',
|
||||
});
|
||||
|
||||
export const journalDateCellWrapper = style({
|
||||
height: 34,
|
||||
});
|
||||
|
||||
@@ -154,8 +154,7 @@ export const EditorJournalPanel = () => {
|
||||
customDayRenderer={customDayRenderer}
|
||||
value={journalDate?.format('YYYY-MM-DD')}
|
||||
onChange={onDateSelect}
|
||||
monthHeaderCellClassName={styles.journalDateCellWrapper}
|
||||
monthBodyCellClassName={styles.journalDateCellWrapper}
|
||||
cellSize={34}
|
||||
/>
|
||||
</div>
|
||||
{journalDate ? (
|
||||
|
||||
Reference in New Issue
Block a user