diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-22 13:49:17 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:07 +0200 |
| commit | adba75ab51401ae99039376b4b64449c9a77e18d (patch) | |
| tree | 0a96e8695c0af2b5cfece8f6541ae06bbdcde864 /src/components/navigation/Navbar.js | |
| parent | d628e0ac5162bb1baeb16fcf21b688d37bbff758 (diff) | |
Expand navbar to full width in-app
Diffstat (limited to 'src/components/navigation/Navbar.js')
| -rw-r--r-- | src/components/navigation/Navbar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/navigation/Navbar.js b/src/components/navigation/Navbar.js index 2358e146..6dfc20b0 100644 --- a/src/components/navigation/Navbar.js +++ b/src/components/navigation/Navbar.js @@ -45,9 +45,9 @@ const LoggedInSectionWithoutRoute = ({location}) => ( ) ; -const Navbar = ({children}) => ( +const Navbar = ({fullWidth, children}) => ( <nav className="navbar fixed-top navbar-expand-lg navbar-light bg-faded" id="navbar"> - <div className="container"> + <div className={fullWidth ? "container-fluid" : "container"}> <button className="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
