style conversation message bubble

This commit is contained in:
m5r 2021-07-22 01:05:21 +08:00
parent a262f61823
commit 56a967b8c6

View File

@ -105,13 +105,13 @@ const Messages: NextPage<Props> = (props) => {
<li
key={message.id}
className={clsx(
isSameSender || isLast ? "pb-3" : "pb-4",
isSameSender || isLast ? "pb-1" : "pb-4",
isOutbound ? "text-right" : "text-left",
)}
>
<span
className={clsx(
"p-2 rounded-lg text-white",
"inline-block text-left w-[fit-content] p-2 rounded-lg text-white",
isOutbound ? "bg-[#3194ff] rounded-br-none" : "bg-black rounded-bl-none",
)}
>