mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
full width menu bar
This commit is contained in:
parent
270f567879
commit
9943dae93c
@ -1,13 +1,9 @@
|
||||
.menu {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.menu > div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-top: calc(var(--spacer) / 2);
|
||||
padding-bottom: calc(var(--spacer) / 2);
|
||||
padding: calc(var(--spacer) / 2) var(--spacer);
|
||||
}
|
||||
|
||||
.logoUnit {
|
||||
|
@ -4,7 +4,6 @@ import { useLocation } from '@reach/router'
|
||||
import loadable from '@loadable/component'
|
||||
import styles from './Menu.module.css'
|
||||
import { useSiteMetadata } from '../../hooks/useSiteMetadata'
|
||||
import Container from '../atoms/Container'
|
||||
import UserPreferences from './UserPreferences'
|
||||
import Badge from '../atoms/Badge'
|
||||
import Logo from '../atoms/Logo'
|
||||
@ -36,7 +35,6 @@ export default function Menu(): ReactElement {
|
||||
|
||||
return (
|
||||
<nav className={styles.menu}>
|
||||
<Container>
|
||||
<Link to="/" className={styles.logoUnit}>
|
||||
<Logo />
|
||||
<h1 className={styles.title}>
|
||||
@ -57,7 +55,6 @@ export default function Menu(): ReactElement {
|
||||
<UserPreferences />
|
||||
</li>
|
||||
</ul>
|
||||
</Container>
|
||||
</nav>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user