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:
parent
b12e66ef88
commit
e2f7f6ff02
@ -31,7 +31,7 @@ class StatusPromotionPanel extends ImmutablePureComponent {
|
|||||||
|
|
||||||
const containerClasses = CX({
|
const containerClasses = CX({
|
||||||
d: 1,
|
d: 1,
|
||||||
pb10: !!status ? status.get('media_attachments').size === 0 : false,
|
pb10: !!status ? (status.get('media_attachments').size === 0 || !!status.get('card')) : false,
|
||||||
})
|
})
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user