Merge pull request #4612 from urbit/james/chat-fixes

chat: minor visual fixes
This commit is contained in:
matildepark 2021-03-16 14:04:07 -04:00 committed by GitHub
commit 570ab959e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ export const UnreadMarker = React.forwardRef(
position='absolute'
ref={ref}
px={2}
mt={2}
mt={0}
height={5}
justifyContent='center'
alignItems='center'
@ -444,13 +444,14 @@ export const MessageAuthor = ({
</Box>
);
return (
<Box display='flex' alignItems='center' {...rest}>
<Box display='flex' alignItems='flex-start' {...rest}>
<Box
onClick={() => {
setShowOverlay(true);
}}
height={24}
pr={2}
mt={'1px'}
pl={'12px'}
cursor='pointer'
position='relative'
@ -483,7 +484,7 @@ export const MessageAuthor = ({
<Text
fontSize={1}
mr={2}
flexShrink={0}
flexShrink={1}
mono={nameMono}
fontWeight={nameMono ? '400' : '500'}
cursor='pointer'