mirror of
https://github.com/sergeyyarkov/educt-client.git
synced 2026-10-11 10:19:22 +03:00
fix: chat sidebar layout
This commit is contained in:
parent
a773884b8a
commit
a6e3e5f88e
@ -15,8 +15,8 @@ const Info: React.FC<IInfoProps> = ({ fullname, lastMessage }) => {
|
||||
const isMe = me?.fullname === fullname;
|
||||
|
||||
return (
|
||||
<Box ml='4'>
|
||||
<Text fontWeight={'semibold'}>
|
||||
<Box ml='4' maxW='200px'>
|
||||
<Text fontWeight={'semibold'} textOverflow={'ellipsis'} overflow={'hidden'} whiteSpace='nowrap'>
|
||||
{isMe ? 'Favorites' : fullname} <br />
|
||||
{lastMessage && (
|
||||
<Text as={'span'} fontWeight='normal' fontSize={'sm'} color='gray.500'>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user