mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
fix(core): make journal template selector fixed at bottom in sidebar (#9783)
This commit is contained in:
@@ -163,7 +163,9 @@ export const EditorJournalPanel = () => {
|
||||
<JournalConflictBlock date={journalDate} />
|
||||
<JournalDailyCountBlock date={journalDate} />
|
||||
</>
|
||||
) : null}
|
||||
) : (
|
||||
<div className={styles.spacer} />
|
||||
)}
|
||||
<JournalTemplateSetting />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -254,3 +254,7 @@ export const journalDateCellDot = style({
|
||||
left: '50%',
|
||||
transform: 'translateX(-50%)',
|
||||
});
|
||||
export const spacer = style({
|
||||
height: 0,
|
||||
flexGrow: 1,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user