remove unimplemented nav items, fix nav styling
This commit is contained in:
parent
5cadf8986c
commit
7a399f859a
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue