From 63205cd5602e74464a9ea2a8396b06bbc6ac43bd Mon Sep 17 00:00:00 2001 From: Mikayla Dobson Date: Sun, 30 Jan 2022 16:36:45 -0600 Subject: [PATCH] fixed title, responsive design --- src/App.css | 13 ++++++++----- src/features/navbar/Navbar.js | 4 ++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/App.css b/src/App.css index bb2cb7e..b8572ef 100644 --- a/src/App.css +++ b/src/App.css @@ -31,7 +31,7 @@ height: 100vh; } -.mobile-title { +.nav-title-mobile { display: none; } @@ -50,7 +50,7 @@ z-index: 9; } -.nav-title { +.nav-title-desktop { display: inline-flex; color: orchid; padding-left: 1.5rem; @@ -234,17 +234,20 @@ position: static; } - .desktop-title { + .nav-title-desktop { display: none; } - .mobile-title { + .nav-title-mobile { display: inline-flex; + color: orchid; + padding-left: 1.5rem; + font-family: 'Open Sans', sans-serif; } .nav-searchbar { width: 12rem; - right: 12rem; + right: 7rem; } .sidebar-button { diff --git a/src/features/navbar/Navbar.js b/src/features/navbar/Navbar.js index 30bff4e..d53dc72 100644 --- a/src/features/navbar/Navbar.js +++ b/src/features/navbar/Navbar.js @@ -12,8 +12,8 @@ export default function Navbar() { return ( <>
-

Reddit, but it's all cats

-

Cat Reddit

+

Reddit, but it's all cats

+

Cat Reddit