fix(core): date-picker styles (#8997)

fix AF-1871
This commit is contained in:
pengx17
2024-12-04 06:56:26 +00:00
parent 1fa1a95c10
commit 4706f1e2a3
7 changed files with 48 additions and 27 deletions

View File

@@ -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,

View File

@@ -251,7 +251,3 @@ export const journalDateCellDot = style({
left: '50%',
transform: 'translateX(-50%)',
});
export const journalDateCellWrapper = style({
height: 34,
});

View File

@@ -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 ? (