Skip to content

Commit 825ce27

Browse files
committed
Adjust container width for fixed nav elements so there's less overlap on desktop
1 parent 1c9ee1a commit 825ce27

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/components/public/floating-footer/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Github from 'static/ic_github.svg';
55

66
const FloatingFooter = () => (
77
<div className={styles.footer}>
8-
<div className={`container ${styles.container}`}>
8+
<div className={`container container--full ${styles.container}`}>
99
<a className={styles.wonderkiln} target="_blank" href="https://wonderkiln.com">
1010
A Wonderkiln Project
1111
</a>

src/components/public/nav/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Menu from './ic_menu.svg';
77

88
const Nav = () => (
99
<nav className={styles.nav}>
10-
<div className={`container ${styles.container}`}>
10+
<div className={`container container--full ${styles.container}`}>
1111
<Logo />
1212
<LogoType />
1313
<Menu />

src/styles/container.scss

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
max-width: 75rem;
55
margin: 0 auto;
66

7+
&--full {
8+
max-width: 100%;
9+
}
10+
711
&--large {
812
max-width: 60rem;
913
}

0 commit comments

Comments
 (0)