mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-25 09:15:19 +03:00
fix(ObjectPreview): description ui jumping while loading
This commit is contained in:
parent
2189dd93a3
commit
04941cab02
@ -241,7 +241,7 @@ export default function ObjectPreviewPrimitive({
|
||||
|
||||
<div css={STYLES_PREVIEW}>{children}</div>
|
||||
|
||||
<motion.article css={STYLES_DESCRIPTION}>
|
||||
<motion.article css={STYLES_DESCRIPTION} style={{ marginTop: "auto" }}>
|
||||
<div style={{ position: "relative", paddingTop: 9 }}>
|
||||
<H5 as="h2" nbrOflines={1} style={{ visibility: "hidden" }}>
|
||||
{title?.slice(0, 5)}
|
||||
|
Loading…
Reference in New Issue
Block a user