From 8e5eecead8a001ea220766a5fabecd0f4491e838 Mon Sep 17 00:00:00 2001
From: MTG2000
Date: Wed, 10 Aug 2022 20:45:34 +0300
Subject: [PATCH] fix: fixed the issues regarding the mobile nav styling
---
.../ErrorBoundary/ErrorBoundary.tsx | 16 ++++---
src/Components/Navbar/NavDesktop.tsx | 2 +-
src/Components/Navbar/NavMobile.tsx | 43 +++++++------------
3 files changed, 26 insertions(+), 35 deletions(-)
diff --git a/src/Components/ErrorBoundary/ErrorBoundary.tsx b/src/Components/ErrorBoundary/ErrorBoundary.tsx
index 3a17e1f..7fcfef3 100644
--- a/src/Components/ErrorBoundary/ErrorBoundary.tsx
+++ b/src/Components/ErrorBoundary/ErrorBoundary.tsx
@@ -26,14 +26,16 @@ class ErrorBoundary extends Component {
public render() {
if (this.state.hasError) {
- return
- Sorry, something went wrong...😵
-
- Try refreshing the page.
-
+ return
+
+ Sorry, something went wrong...😵
+
+ Try refreshing the page.
+
- } type="unknown">;
+ } type="unknown">
+
;
}
return this.props.children;
diff --git a/src/Components/Navbar/NavDesktop.tsx b/src/Components/Navbar/NavDesktop.tsx
index 4fa8a9a..f69ae78 100644
--- a/src/Components/Navbar/NavDesktop.tsx
+++ b/src/Components/Navbar/NavDesktop.tsx
@@ -201,7 +201,7 @@ export default function NavDesktop() {
:
-