fix: avatar alignement issue with message

pull/2670/head
Audric Ackermann 2 years ago
parent d2d2a418eb
commit e5c6e34c86

@ -20,7 +20,7 @@ import { Avatar, AvatarSize, CrownIcon } from '../../../avatar/Avatar';
const StyledAvatar = styled.div`
position: relative;
margin-inline-end: 20px;
padding-top: 5px;
padding-bottom: 6px;
padding-inline-end: 4px;
`;

@ -46,6 +46,8 @@ const StyledMessageContentContainer = styled.div<{ direction: 'left' | 'right' }
const StyledMessageWithAuthor = styled.div<{ isIncoming: boolean }>`
max-width: ${props => (props.isIncoming ? '100%' : 'calc(100% - 17px)')};
display: flex;
flex-direction: column;
`;
export const MessageContentWithStatuses = (props: Props) => {

Loading…
Cancel
Save