fix style for like
This commit is contained in:
parent
7b97687e78
commit
ff532359f5
|
|
@ -41,7 +41,7 @@ const Message = ({ message }: any) => {
|
||||||
</div>
|
</div>
|
||||||
<Text text={message.content} />
|
<Text text={message.content} />
|
||||||
{message.image && <Image src={message.image} alt="image" className="w-fit rounded-lg cursor-pointer" />}
|
{message.image && <Image src={message.image} alt="image" className="w-fit rounded-lg cursor-pointer" />}
|
||||||
<div className="flex justify-between gap-3">
|
<div className="flex justify-between gap-3 flex-wrap">
|
||||||
<div className="text-grey-light date">
|
<div className="text-grey-light date">
|
||||||
{new Date(message.createdAt).toLocaleDateString(undefined, {
|
{new Date(message.createdAt).toLocaleDateString(undefined, {
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue