Update max-width of chat message sender name
This commit is contained in:
parent
7d72254ac8
commit
aba03088a4
1 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ export default function ChatMessage({
|
|||
>
|
||||
<div
|
||||
className={classNames(
|
||||
"mr-3 mt-1 flex max-w-16 flex-col items-center gap-1 overflow-hidden px-3 pb-3"
|
||||
"mr-3 mt-1 flex max-w-24 flex-col items-center gap-1 overflow-hidden px-3 pb-3"
|
||||
)}
|
||||
>
|
||||
<div className="flex flex-col items-center gap-1">
|
||||
|
|
@ -126,7 +126,7 @@ export default function ChatMessage({
|
|||
alt={!chat.isSend ? "robot_image" : "male_technology"}
|
||||
/>
|
||||
</div>
|
||||
<span className="max-w-16 truncate text-xs">
|
||||
<span className="max-w-24 truncate text-xs">
|
||||
{chat.sender_name}
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue