Merge pull request #2448 from Bilb/fix-margin-right-text-with-author

fix: right margin on body shorted than author name
pull/2453/head
Audric Ackermann 3 years ago committed by GitHub
commit fd7efe5b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,11 +44,6 @@ const StyledMessageContentContainer = styled.div<{ direction: 'left' | 'right' }
}
`;
const StyledMessageContentWithAuthor = styled.div`
display: flex;
flex-direction: column;
`;
export const MessageContentWithStatuses = (props: Props) => {
const contentProps = useSelector(state =>
getMessageContentWithStatusesSelectorProps(state as any, props.messageId)
@ -127,11 +122,11 @@ export const MessageContentWithStatuses = (props: Props) => {
messageId={messageId}
isCorrectSide={isIncoming}
/>
<StyledMessageContentWithAuthor>
<div>
<MessageAuthorText messageId={messageId} />
<MessageContent messageId={messageId} isDetailView={isDetailView} />
</StyledMessageContentWithAuthor>
</div>
<MessageStatus
dataTestId="msg-status-outgoing"
messageId={messageId}

Loading…
Cancel
Save