From 17501fc26112a1ed66a6349e7f45af77e8f511be Mon Sep 17 00:00:00 2001 From: Gaurav Singh <99260988+gauravsingh94@users.noreply.github.com> Date: Sun, 24 Dec 2023 00:03:01 +0530 Subject: [PATCH] Fixed-Issue-#1259 Keeping the message in design when no posts is found. (#1265) --- src/components/NotFound/NotFound.module.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/NotFound/NotFound.module.css b/src/components/NotFound/NotFound.module.css index 5f0ca7a730..a209bc9f48 100644 --- a/src/components/NotFound/NotFound.module.css +++ b/src/components/NotFound/NotFound.module.css @@ -1,15 +1,13 @@ .section { - position: relative; - margin: 20px auto; - width: 100%; - background-color: #fff; - padding: 4px; - border-radius: 0.5rem; + flex: 1; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; } .error { font-size: 1.2rem; - color: #575656; font-weight: 500; }