diff --git a/src/components/NavBar/MenuDropdown.tsx b/src/components/NavBar/MenuDropdown.tsx index 7cfa35eb87..b3b3ef7350 100644 --- a/src/components/NavBar/MenuDropdown.tsx +++ b/src/components/NavBar/MenuDropdown.tsx @@ -126,7 +126,7 @@ export const MenuDropdown = () => { <> - + {isOpen && ( diff --git a/src/components/NavBar/NavIcon.css.ts b/src/components/NavBar/NavIcon.css.ts index 29360a782a..bbac5c9685 100644 --- a/src/components/NavBar/NavIcon.css.ts +++ b/src/components/NavBar/NavIcon.css.ts @@ -11,7 +11,7 @@ export const navIcon = style([ justifyContent: 'center', textAlign: 'center', cursor: 'pointer', - padding: '8', + padding: '10', borderRadius: '8', transition: '250', }), diff --git a/src/components/NavBar/Navbar.tsx b/src/components/NavBar/Navbar.tsx index 8873d5ac1c..f5b787fe49 100644 --- a/src/components/NavBar/Navbar.tsx +++ b/src/components/NavBar/Navbar.tsx @@ -1,17 +1,17 @@ import { Trans } from '@lingui/macro' +import { ChainSwitcher } from 'components/NavBar/ChainSwitcher' +import { MenuDropdown } from 'components/NavBar/MenuDropdown' +import * as styles from 'components/NavBar/Navbar.css' +import { SearchBar } from 'components/NavBar/SearchBar' +import { ShoppingBag } from 'components/NavBar/ShoppingBag' import Web3Status from 'components/Web3Status' import { NftVariant, useNftFlag } from 'featureFlags/flags/nft' +import { Box } from 'nft/components/Box' +import { Row } from 'nft/components/Flex' +import { UniIcon } from 'nft/components/icons' import { ReactNode } from 'react' import { NavLink, NavLinkProps, useLocation } from 'react-router-dom' -import { Box } from '../../nft/components/Box' -import { Row } from '../../nft/components/Flex' -import { UniIcon } from '../../nft/components/icons' -import { ChainSwitcher } from './ChainSwitcher' -import { MenuDropdown } from './MenuDropdown' -import * as styles from './Navbar.css' -import { SearchBar } from './SearchBar' - interface MenuItemProps { href: string id?: NavLinkProps['id'] @@ -64,6 +64,9 @@ const PageTabs = () => { } const Navbar = () => { + const { pathname } = useLocation() + const isNftPage = pathname.startsWith('/nfts') + return ( <>