Fixed feed item action button cropped on iOS

This commit is contained in:
Arnaud Vergnet 2020-04-16 19:28:19 +02:00
parent 9c6ebad502
commit 5a9f33669c

View file

@ -53,7 +53,7 @@ class FeedItem extends React.Component<Props> {
const cardHeight = this.props.height - 2 * cardMargin; const cardHeight = this.props.height - 2 * cardMargin;
const imageSize = 250; const imageSize = 250;
const titleHeight = 80; const titleHeight = 80;
const actionsHeight = 48; const actionsHeight = 60;
const textHeight = hasImage const textHeight = hasImage
? cardHeight - titleHeight - actionsHeight - imageSize ? cardHeight - titleHeight - actionsHeight - imageSize
: cardHeight - titleHeight - actionsHeight; : cardHeight - titleHeight - actionsHeight;