Addded check to StatusPromotionPanel if card exists to have bottom padding

• Addded:
- check to StatusPromotionPanel if card exists to have bottom padding
This commit is contained in:
mgabdev 2020-11-03 13:12:50 -06:00
parent b12e66ef88
commit e2f7f6ff02

@ -31,7 +31,7 @@ class StatusPromotionPanel extends ImmutablePureComponent {
const containerClasses = CX({
d: 1,
pb10: !!status ? status.get('media_attachments').size === 0 : false,
pb10: !!status ? (status.get('media_attachments').size === 0 || !!status.get('card')) : false,
})
return (