From db25c82b1cf5af23e933246df8be09256d0f22e5 Mon Sep 17 00:00:00 2001 From: Marsha Hall Date: Sun, 19 Sep 2021 13:56:41 -0400 Subject: [PATCH 1/7] fix css on navbar --- front-end/src/App.css | 6 +----- front-end/src/Components/NavBar.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/front-end/src/App.css b/front-end/src/App.css index 6315257..319ef75 100644 --- a/front-end/src/App.css +++ b/front-end/src/App.css @@ -91,7 +91,7 @@ h6 { /* End of Global Styles */ /* N A V B A R */ -.navbar { +.navBar { position: sticky; top: 0; width: 100vw; @@ -349,7 +349,6 @@ h6 { display: grid; grid-template-columns: 1fr; margin: 2rem auto; - } .description, .info { @@ -398,7 +397,6 @@ h6 { /* End React Calendar */ - /* Booking Form */ .BookingFormContainer { @@ -413,5 +411,3 @@ h6 { } /* End Chef Availibility Calendar */ - - diff --git a/front-end/src/Components/NavBar.js b/front-end/src/Components/NavBar.js index dace823..81a2674 100644 --- a/front-end/src/Components/NavBar.js +++ b/front-end/src/Components/NavBar.js @@ -14,7 +14,7 @@ const NavBar = () => { }; return ( -