diff --git a/src/components/mobile/toolbar.css b/src/components/mobile/toolbar.css index 44584f6..f0f0ba5 100644 --- a/src/components/mobile/toolbar.css +++ b/src/components/mobile/toolbar.css @@ -11,15 +11,12 @@ } .mobile-toolbar-logo { - margin-top: auto; - margin-bottom: auto; + margin: auto 20px; min-width: 50px; } .mobile-toolbar-sidebar-toggle { - margin-top: auto; - margin-bottom: auto; - margin-left: auto; + margin: auto 20px; font-size: 35px; min-width: 50px; color: #ffa62b; diff --git a/src/components/mobile/toolbar.jsx b/src/components/mobile/toolbar.jsx index 521120e..3aedc49 100644 --- a/src/components/mobile/toolbar.jsx +++ b/src/components/mobile/toolbar.jsx @@ -10,6 +10,7 @@ import Search from "../search" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import { faBars } from "@fortawesome/free-solid-svg-icons" import { Link } from "gatsby" +import ScrollToTop from "../scrollToTop" const Toolbar = ({ showSearch }) => { const [isSidebarVisible, setSidebarVisibilty] = useState(false) @@ -21,6 +22,7 @@ const Toolbar = ({ showSearch }) => { return (
{filteredOrganizations.length} results