From 2381c36078265a637969cfeaeabb976d5f7acbb2 Mon Sep 17 00:00:00 2001 From: majakomel Date: Mon, 18 Dec 2023 12:51:02 +0100 Subject: [PATCH] Update styles --- components/NavBar.js | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/components/NavBar.js b/components/NavBar.js index 5f33d35b..c7ab7922 100644 --- a/components/NavBar.js +++ b/components/NavBar.js @@ -72,24 +72,35 @@ const StyledResponsiveMenu = styled(Box)` display: block; } + .closeIcon { + color: ${(props) => props.theme.colors.black}; + cursor: pointer; + } + .menuItemsWrapper { display: none; &.visible { display: block; - padding: ${(props) => props.theme.space[4]}px ${(props) => props.theme.space[3]}px; + overflow-y: scroll; + max-height: 100%; + padding: ${(props) => props.theme.space[4]}px; font-Size: 16px; position: fixed; top: 0; - left: 0; right: 0; - bottom: 0; - background: ${(props) => props.theme.colors.blue5}; + background: ${(props) => props.theme.colors.gray0}; z-index: 999; - + .menuItems { padding-top: ${(props) => props.theme.space[4]}px; flex-direction: column; + align-items: start; + + a, select { + opacity: 1; + color: ${(props) => props.theme.colors.black}; + } } } } @@ -136,7 +147,7 @@ export const NavBar = ({ color }) => { setShowMenu(!showMenu)} /> )} - + } href="/search" /> } href="/chart/mat" /> } href="/chart/circumvention" />