mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(mobile): tab is not at bottom in tag detail page when empty (#11723)
This commit is contained in:
@@ -30,3 +30,7 @@ export const groups = style({
|
||||
flexDirection: 'column',
|
||||
gap: 32,
|
||||
});
|
||||
export const emptySpaceY = style({
|
||||
height: 0,
|
||||
flexGrow: 1,
|
||||
});
|
||||
|
||||
@@ -79,7 +79,12 @@ export const AllDocList = ({
|
||||
// }, [finalPageMetas, groupDefs]);
|
||||
|
||||
if (!finalPageMetas.length) {
|
||||
return <EmptyDocs absoluteCenter tagId={tag?.id} />;
|
||||
return (
|
||||
<>
|
||||
<EmptyDocs absoluteCenter tagId={tag?.id} />
|
||||
<div className={styles.emptySpaceY} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
// return (
|
||||
|
||||
Reference in New Issue
Block a user