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 {
|
.menu {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
|
||||||
|
|
||||||
.menu > div {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-top: calc(var(--spacer) / 2);
|
padding: calc(var(--spacer) / 2) var(--spacer);
|
||||||
padding-bottom: calc(var(--spacer) / 2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoUnit {
|
.logoUnit {
|
||||||
|
@ -4,7 +4,6 @@ import { useLocation } from '@reach/router'
|
|||||||
import loadable from '@loadable/component'
|
import loadable from '@loadable/component'
|
||||||
import styles from './Menu.module.css'
|
import styles from './Menu.module.css'
|
||||||
import { useSiteMetadata } from '../../hooks/useSiteMetadata'
|
import { useSiteMetadata } from '../../hooks/useSiteMetadata'
|
||||||
import Container from '../atoms/Container'
|
|
||||||
import UserPreferences from './UserPreferences'
|
import UserPreferences from './UserPreferences'
|
||||||
import Badge from '../atoms/Badge'
|
import Badge from '../atoms/Badge'
|
||||||
import Logo from '../atoms/Logo'
|
import Logo from '../atoms/Logo'
|
||||||
@ -36,7 +35,6 @@ export default function Menu(): ReactElement {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<nav className={styles.menu}>
|
<nav className={styles.menu}>
|
||||||
<Container>
|
|
||||||
<Link to="/" className={styles.logoUnit}>
|
<Link to="/" className={styles.logoUnit}>
|
||||||
<Logo />
|
<Logo />
|
||||||
<h1 className={styles.title}>
|
<h1 className={styles.title}>
|
||||||
@ -57,7 +55,6 @@ export default function Menu(): ReactElement {
|
|||||||
<UserPreferences />
|
<UserPreferences />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</Container>
|
|
||||||
</nav>
|
</nav>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user