Merge pull request #4259 from FreeCodeCamp/fix/react-branch-router

Fix nav brand issue
This commit is contained in:
Logan Tegman
2015-11-09 08:45:03 -08:00
3 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import {
Col, Col,
CollapsibleNav, CollapsibleNav,
Nav, Nav,
NavBrand,
Navbar, Navbar,
NavItem NavItem
} from 'react-bootstrap'; } from 'react-bootstrap';
@ -106,11 +107,11 @@ export default React.createClass({
const { username, points, picture } = this.props; const { username, points, picture } = this.props;
return ( return (
<Navbar <Navbar
brand={ logoElement }
className='nav-height' className='nav-height'
fixedTop={ true } fixedTop={ true }
toggleButton={ toggleButton } toggleButton={ toggleButton }
toggleNavKey={ 0 }> toggleNavKey={ 0 }>
<NavBrand>{ logoElement }</NavBrand>
<CollapsibleNav eventKey={ 0 }> <CollapsibleNav eventKey={ 0 }>
<Nav <Nav
className='hamburger-dropdown' className='hamburger-dropdown'

View File

@ -38,6 +38,7 @@ export default React.createClass({
const className = classnames({ const className = classnames({
'jobs-list': true, 'jobs-list': true,
'col-xs-12': true,
'jobs-list-highlight': isHighlighted 'jobs-list-highlight': isHighlighted
}); });
@ -47,7 +48,7 @@ export default React.createClass({
key={ id } key={ id }
onClick={ () => handleClick(id) }> onClick={ () => handleClick(id) }>
<div> <div>
<h4 style={{ display: 'inline-block' }}> <h4 className='pull-left' style={{ display: 'inline-block' }}>
<bold>{ company }</bold> <bold>{ company }</bold>
{' '} {' '}
<span className='hidden-xs hidden-sm'> <span className='hidden-xs hidden-sm'>

View File

@ -101,7 +101,7 @@
"react": "^0.14.2", "react": "^0.14.2",
"react-bootstrap": "~0.27.3", "react-bootstrap": "~0.27.3",
"react-motion": "~0.3.1", "react-motion": "~0.3.1",
"react-router": "https://github.com/BerkeleyTrue/react-router.git#freecodecamp", "react-router": "^1.0.0-rc4",
"react-router-bootstrap": "^0.19.2", "react-router-bootstrap": "^0.19.2",
"react-vimeo": "^0.0.3", "react-vimeo": "^0.0.3",
"request": "~2.65.0", "request": "~2.65.0",