fix: right margin on body shorted than author name

pull/2448/head
Audric Ackermann 3 years ago
parent e5f484f5bd
commit 98ea07a361

@ -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