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',
|
flexDirection: 'column',
|
||||||
gap: 32,
|
gap: 32,
|
||||||
});
|
});
|
||||||
|
export const emptySpaceY = style({
|
||||||
|
height: 0,
|
||||||
|
flexGrow: 1,
|
||||||
|
});
|
||||||
|
|||||||
@@ -79,7 +79,12 @@ export const AllDocList = ({
|
|||||||
// }, [finalPageMetas, groupDefs]);
|
// }, [finalPageMetas, groupDefs]);
|
||||||
|
|
||||||
if (!finalPageMetas.length) {
|
if (!finalPageMetas.length) {
|
||||||
return <EmptyDocs absoluteCenter tagId={tag?.id} />;
|
return (
|
||||||
|
<>
|
||||||
|
<EmptyDocs absoluteCenter tagId={tag?.id} />
|
||||||
|
<div className={styles.emptySpaceY} />
|
||||||
|
</>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// return (
|
// return (
|
||||||
|
|||||||
Reference in New Issue
Block a user