From 4fd325fa8fe3a6bd5cba6763f89faece43d0f2cc Mon Sep 17 00:00:00 2001 From: Ashelyn Dawn Date: Tue, 7 Apr 2020 21:00:13 -0600 Subject: [PATCH] Padding fixes --- components/adminNav/adminNav.js | 10 +++++++--- pages/_app.js | 12 +++++------- styles/layout.css | 1 + 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/components/adminNav/adminNav.js b/components/adminNav/adminNav.js index e52bafc..54192c2 100644 --- a/components/adminNav/adminNav.js +++ b/components/adminNav/adminNav.js @@ -9,7 +9,11 @@ export default function AdminNav({children}){ const isAdminPage = useIsAdminPage() if(!isAdminPage) - return children + return ( +
+ {children} +
+ ) return (
@@ -22,9 +26,9 @@ export default function AdminNav({children}){ Shipments Coupons
-
+
{children} -
+ ) } diff --git a/pages/_app.js b/pages/_app.js index ca5d3b4..32ef098 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -46,13 +46,11 @@ function Layout({ Component, pageProps, user, cart: _cart }){
-
- - - - - -
+ + + + +