diff --git a/src/components/navigation/www/navigation.jsx b/src/components/navigation/www/navigation.jsx index dcac56fc0..ce2888ab1 100644 --- a/src/components/navigation/www/navigation.jsx +++ b/src/components/navigation/www/navigation.jsx @@ -248,7 +248,8 @@ var Navigation = React.createClass({ - {this.props.session.session.user.username} + {this.props.layout == 'COLS8' || this.props.layout == 'COLS12' ? + this.props.session.session.user.username : ''} , -
  • +
  • ul > li { - &.create, - &.explore, - &.discuss, - &.help, - &.search { - display: none; + #navigation .inner { + width: $cols4; + + > ul > li { + &.create, + &.explore, + &.discuss, + &.help, + &.search, + &.mystuff { + display: none; + } + + &.login-item { + margin-left: 0; + } + + &.account-nav { + margin-left: 0; + + > a { + .avatar { + margin-right: 0; + } + + &:after { + display: none; + } + } + } } } } + //6 columns @media only screen and (min-width: $mobile) and (max-width: $tablet - 1) { - #navigation .inner > ul > li { - &.explore, - &.discuss, - &.search { - display: none; + #navigation .inner { + width: $cols6; + + > ul > li { + &.explore, + &.discuss, + &.search, + &.mystuff { + display: none; + } + + &.login-item { + margin-left: 0; + } + + &.account-nav { + margin-left: 0; + + > a { + .avatar { + margin-right: 0; + } + + &:after { + display: none; + } + } + } } } } //8 columns @media only screen and (min-width: $tablet) and (max-width: $desktop - 1) { - #navigation .inner > ul > li { - &.explore, - &.search { - display: none; + #navigation .inner { + width: $cols8; + + > ul > li { + &.explore, + &.search, + &.mystuff { + display: none; + } + + &.login-item, + &.account-nav { + margin-left: 0; + } } } }