Message: If collapsed in group, remove top margin on link previews
This commit is contained in:
parent
410bc52fd0
commit
e18510e41c
4 changed files with 1009 additions and 1185 deletions
|
@ -1147,7 +1147,9 @@ export class Message extends React.PureComponent<Props, State> {
|
|||
|
||||
const withContentAbove =
|
||||
Boolean(quote) ||
|
||||
(conversationType === 'group' && direction === 'incoming');
|
||||
(!shouldCollapseAbove &&
|
||||
conversationType === 'group' &&
|
||||
direction === 'incoming');
|
||||
|
||||
const previewHasImage = isImageAttachment(first.image);
|
||||
const isFullSizeImage = shouldUseFullSizeLinkPreviewImage(first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue