fix(mobile): tab is not at bottom in tag detail page when empty (#11723)

This commit is contained in:
Cats Juice
2025-04-16 14:48:48 +08:00
committed by GitHub
parent 79c9425df6
commit d045651a03
2 changed files with 10 additions and 1 deletions

View File

@@ -30,3 +30,7 @@ export const groups = style({
flexDirection: 'column',
gap: 32,
});
export const emptySpaceY = style({
height: 0,
flexGrow: 1,
});

View File

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