forkad från vergnet/application-amicale
Fixed feed item action button cropped on iOS
This commit is contained in:
förälder
9c6ebad502
incheckning
5a9f33669c
1 ändrade filer med 1 tillägg och 1 borttagningar
|
|
@ -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;
|
||||||
|
|
|
||||||
Laddar…
Referens i nytt ärende