Commit 9104cf69 authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

update

parent 2642b7b8
...@@ -247,14 +247,11 @@ const Page = () => { ...@@ -247,14 +247,11 @@ const Page = () => {
/> />
</div> </div>
<div className="flex-1 p-5 pt-0"> <div className="flex-1 p-5 pt-1">
<p className="text-[#063E8E] font-bold text-xl line-clamp-2"> <p className="text-[#063E8E] font-bold pb-2 text-xl line-clamp-2">
{news.title} {news.title}
</p> </p>
<p className="text-gray-500 text-sm"> <p className="line-clamp-4 text-justify">{stripImagesAndHtml(news.description)}</p>
{dayjs(news.release_at).format("DD/MM/YYYY")}
</p>
<p className="line-clamp-4">{stripImagesAndHtml(news.description)}</p>
</div> </div>
</a> </a>
))} ))}
...@@ -389,7 +386,7 @@ const Page = () => { ...@@ -389,7 +386,7 @@ const Page = () => {
<p className="text-gray-500 text-sm my-1"> <p className="text-gray-500 text-sm my-1">
{dayjs(event.start_time).format("DD/MM/YYYY")} {dayjs(event.start_time).format("DD/MM/YYYY")}
</p> </p>
<p className="line-clamp-3">{stripImagesAndHtml(event.description)}</p> <p className="line-clamp-3 text-justify">{stripImagesAndHtml(event.description)}</p>
</div> </div>
</a> </a>
))} ))}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment