From 1f741635486934f0cb11643bf7e48c969c8cefba Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Sun, 20 Mar 2022 18:40:14 +0600 Subject: [PATCH] Wrap the blog items with a container --- src/components/blog/index.jsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/blog/index.jsx b/src/components/blog/index.jsx index b3699bb..381750c 100644 --- a/src/components/blog/index.jsx +++ b/src/components/blog/index.jsx @@ -178,9 +178,9 @@ const Blog = ({ loading }) => {
-
+
-
+
{loading ? ( skeleton({ width: 'w-28', height: 'h-8' }) @@ -189,14 +189,16 @@ const Blog = ({ loading }) => { )}
+
+
+ {loading || !articles + ? renderSkeleton() + : renderArticles()} +
+
-
-
- {loading || !articles ? renderSkeleton() : renderArticles()} -
-
)}