3681 avatars are not appearing in the messages and people name should be bold (#3692)
* update font weight * fix picture not appearing
This commit is contained in:
@ -24,6 +24,7 @@ const StyledAvatar = styled(Avatar)`
|
||||
|
||||
const StyledSenderName = styled.span`
|
||||
font-size: ${({ theme }) => theme.font.size.sm};
|
||||
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
`;
|
||||
@ -35,6 +36,10 @@ const StyledThreadMessageSentAt = styled.div`
|
||||
font-size: ${({ theme }) => theme.font.size.sm};
|
||||
`;
|
||||
|
||||
const StyledRecordChip = styled(RecordChip)`
|
||||
font-weight: ${({ theme }) => theme.font.weight.medium};
|
||||
`;
|
||||
|
||||
type EmailThreadMessageSenderProps = {
|
||||
sender: EmailThreadMessageParticipant;
|
||||
sentAt: string;
|
||||
@ -57,7 +62,7 @@ export const EmailThreadMessageSender = ({
|
||||
<StyledEmailThreadMessageSender>
|
||||
<StyledEmailThreadMessageSenderUser>
|
||||
{person ? (
|
||||
<RecordChip
|
||||
<StyledRecordChip
|
||||
objectNameSingular={CoreObjectNameSingular.Person}
|
||||
record={person}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user