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