fix(core): make journal template selector fixed at bottom in sidebar (#9783)

This commit is contained in:
CatsJuice
2025-01-20 04:35:10 +00:00
parent 4bd43a698c
commit 1a18aeb22e
2 changed files with 7 additions and 1 deletions

View File

@@ -163,7 +163,9 @@ export const EditorJournalPanel = () => {
<JournalConflictBlock date={journalDate} /> <JournalConflictBlock date={journalDate} />
<JournalDailyCountBlock date={journalDate} /> <JournalDailyCountBlock date={journalDate} />
</> </>
) : null} ) : (
<div className={styles.spacer} />
)}
<JournalTemplateSetting /> <JournalTemplateSetting />
</div> </div>
); );

View File

@@ -254,3 +254,7 @@ export const journalDateCellDot = style({
left: '50%', left: '50%',
transform: 'translateX(-50%)', transform: 'translateX(-50%)',
}); });
export const spacer = style({
height: 0,
flexGrow: 1,
});