remove unimplemented nav items, fix nav styling

This commit is contained in:
Cassie Tarakajian 2017-08-31 16:32:29 -04:00
parent 5cadf8986c
commit 7a399f859a
2 changed files with 5 additions and 1 deletions

View file

@ -180,6 +180,7 @@ class Nav extends React.PureComponent {
</li> </li>
</ul> </ul>
</li> </li>
{/* TODO--add these things to the nav
<li className={navDropdownState.edit}> <li className={navDropdownState.edit}>
<button <button
onClick={this.toggleDropdown.bind(this, 'edit')} onClick={this.toggleDropdown.bind(this, 'edit')}
@ -224,6 +225,7 @@ class Nav extends React.PureComponent {
</li> </li>
</ul> </ul>
</li> </li>
*/}
<li className={navDropdownState.help}> <li className={navDropdownState.help}>
<button <button
onClick={this.toggleDropdown.bind(this, 'help')} onClick={this.toggleDropdown.bind(this, 'help')}
@ -334,6 +336,7 @@ class Nav extends React.PureComponent {
</ul> </ul>
</li> </li>
</ul> } </ul> }
{/*
<div className="nav__announce"> <div className="nav__announce">
This is a preview version of the editor, that has not yet been officially released. This is a preview version of the editor, that has not yet been officially released.
It is in development, you can report bugs <a It is in development, you can report bugs <a
@ -343,6 +346,7 @@ class Nav extends React.PureComponent {
>here</a>. >here</a>.
Please use with caution. Please use with caution.
</div> </div>
*/}
</nav> </nav>
); );
} }

View file

@ -1,5 +1,5 @@
.nav { .nav {
width: 100%; width: calc(100% - #{10 / $base-font-size}rem);
height: #{42 / $base-font-size}rem; height: #{42 / $base-font-size}rem;
display: flex; display: flex;
flex-direction: row; flex-direction: row;