Fixed so heading looks good with closed sidemenu

This commit is contained in:
Hugo Häggmark 2019-01-23 16:29:18 +01:00
parent ffe03ee22d
commit b2c284e42c
2 changed files with 24 additions and 4 deletions

View File

@ -101,9 +101,9 @@ export class ExploreToolbar extends PureComponent<Props, {}> {
</div>
<div className="toolbar-header-close">
{exploreId === 'right' && (
<a onClick={this.props.onCloseSplit}>
<i className="fa fa-times" />
</a>
<button className="btn navbar-button" onClick={this.props.onCloseSplit}>
Close Split
</button>
)}
</div>
</div>

View File

@ -4,18 +4,33 @@
display: none;
}
.timepicker {
display: flex;
}
.timepicker-rangestring {
margin-left: 0.5em;
}
.datasource-picker {
min-width: 200px;
max-width: 200px;
}
.sidemenu-open {
.toolbar {
margin-left: 0;
}
}
.toolbar-splitted,
.toolbar {
display: flex;
background: inherit;
justify-content: space-between;
height: auto;
padding: 2px $dashboard-padding;
padding: 0px $dashboard-padding;
margin-left: $panel-margin * 3;
}
.toolbar {
@ -102,6 +117,11 @@
display: inline-block;
}
.toolbar-splitted,
.toolbar {
margin-left: 0;
}
.toolbar {
flex-flow: row wrap;
}