diff --git a/src/components/Header/Header.scss b/src/components/Header/Header.scss index 8c5a956b7..d55edf0b2 100644 --- a/src/components/Header/Header.scss +++ b/src/components/Header/Header.scss @@ -15,6 +15,11 @@ header, z-index: 3; } + // don't overflow on buttons + nav .button { + white-space: nowrap; + } + // add header background as only being visible when scrolled (over elements) // or when opened on mobile (also over other elements) & > .container, diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index d0ecd5a3b..74cb335f5 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -1,7 +1,7 @@ import { useCallback, useContext, useEffect, useRef, useState } from 'react'; import { Link, LinkProps, useResolvedPath, useMatch } from 'react-router-dom'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faBars } from '@fortawesome/free-solid-svg-icons'; +import { faBars, faExternalLink } from '@fortawesome/free-solid-svg-icons'; import { useWeb3 } from '../../lib/web3/useWeb3'; import { ThemeContext } from '../../lib/theme/themeProvider'; @@ -97,21 +97,40 @@ export default function Header() {