This commit is contained in:
srgooglo 2022-03-28 19:53:54 +02:00
parent 58148d6c3e
commit c80e3b9763
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ function PostHeader(props) {
</div> </div>
</div> </div>
</div> </div>
<div className="postStadistics"> <div className="postStatistics">
<div className="item"> <div className="item">
<Icons.Heart className={classnames("icon", { ["filled"]: props.isLiked })} /> <Icons.Heart className={classnames("icon", { ["filled"]: props.isLiked })} />
<div className="value"> <div className="value">
@ -222,8 +222,8 @@ export const PostCardAnimated = ({
motionAppear={motionAppear} motionAppear={motionAppear}
onAppearStart={getCollapsedHeight} onAppearStart={getCollapsedHeight}
onAppearActive={node => { onAppearActive={node => {
motionRef.current = true; motionRef.current = true
return getMaxHeight(node); return getMaxHeight(node)
}} }}
onAppearEnd={onAppear} onAppearEnd={onAppear}
onLeaveStart={getCurrentHeight} onLeaveStart={getCurrentHeight}

View File

@ -78,7 +78,7 @@
} }
} }
.postStadistics { .postStatistics {
display : inline-flex; display : inline-flex;
flex-direction: column; flex-direction: column;
font-size : 16px; font-size : 16px;