Move view logs button to sidebar

This commit is contained in:
Tulir Asokan 2018-12-08 20:41:23 +02:00
parent 8824c21788
commit f5b996d2a2
4 changed files with 13 additions and 1 deletions

View file

@ -22,7 +22,6 @@ class Home extends Component {
See sidebar to get started
</div>
<div className="buttons">
<button className="open-log" onClick={this.props.openLog}>View logs</button>
</div>
</>
}

View file

@ -156,6 +156,11 @@ class Dashboard extends Component {
</div>
<nav className="sidebar">
<div className="buttons">
<button className="open-log" onClick={this.openLog}>
<span>View logs</span>
</button>
</div>
<div className="instances list">
<div className="title">
<h2>Instances</h2>

View file

@ -22,6 +22,14 @@
overflow-y: auto
div.buttons
margin-bottom: 1.5rem
button
+button
background-color: white
width: 100%
div.list
&:not(:last-of-type)
margin-bottom: 1.5rem