0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 08:42:45 +00:00

Built a new pane split component

This commit is contained in:
Scott Tolksdorf
2016-05-04 01:19:33 -04:00
parent e6a747210e
commit 75fb606097
9 changed files with 204 additions and 19 deletions

View File

@@ -6,7 +6,9 @@ var Nav = {
base : React.createClass({
render : function(){
return <nav>
{this.props.children}
<div className='navContent'>
{this.props.children}
</div>
</nav>
}
}),

View File

@@ -8,9 +8,13 @@
src : url('/assets/naturalCrit/logo/CODE Bold.otf');
}
nav{
display : flex;
background-color : #333;
justify-content : space-between;
.navContent{
display : flex;
justify-content : space-between;
}
.navSection{
display : flex;
align-items : center;
@@ -51,7 +55,7 @@ nav{
}
.navItem{
.animate(background-color);
padding : 5px 8px;
padding : 8px 12px;
cursor : pointer;
background-color : #333;
font-size : 12px;