mirror of
https://github.com/sergeyyarkov/educt-client.git
synced 2026-10-11 02:09:08 +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;
|
const isMe = me?.fullname === fullname;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box ml='4'>
|
<Box ml='4' maxW='200px'>
|
||||||
<Text fontWeight={'semibold'}>
|
<Text fontWeight={'semibold'} textOverflow={'ellipsis'} overflow={'hidden'} whiteSpace='nowrap'>
|
||||||
{isMe ? 'Favorites' : fullname} <br />
|
{isMe ? 'Favorites' : fullname} <br />
|
||||||
{lastMessage && (
|
{lastMessage && (
|
||||||
<Text as={'span'} fontWeight='normal' fontSize={'sm'} color='gray.500'>
|
<Text as={'span'} fontWeight='normal' fontSize={'sm'} color='gray.500'>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user