Commit 56b6b49f authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

fix/background news component

parent 6e88c8b8
...@@ -7,7 +7,7 @@ function NewsContent({ news }: { news: NewsAdminItem }) { ...@@ -7,7 +7,7 @@ function NewsContent({ news }: { news: NewsAdminItem }) {
return ( return (
<a <a
href={`${news.id}`} href={`${news.id}`}
className='flex flex-col sm:flex-row gap-3 mb-3 bg-gray-100 rounded-md p-3' className='flex flex-col sm:flex-row gap-3 mb-3 border border-gray-200 bg-white rounded-md p-3'
> >
<img <img
src={`${BASE_URL.imageEndpoint}${news.thumbnail}`} src={`${BASE_URL.imageEndpoint}${news.thumbnail}`}
......
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