Commit 8a4ce3e4 by Torkel Ödegaard Committed by GitHub

Merge pull request #14945 from grafana/hugoh/bug-misalignment-of-explore-panels

Hack for getting the same height in splitted view
parents 916f9bef 11944adc
...@@ -242,11 +242,14 @@ export class Explore extends React.PureComponent<ExploreProps> { ...@@ -242,11 +242,14 @@ export class Explore extends React.PureComponent<ExploreProps> {
</a> </a>
</div> </div>
) : ( ) : (
<div className="navbar-buttons explore-first-button"> <>
<button className="btn navbar-button" onClick={this.onClickCloseSplit}> <div className="navbar-page-btn" />
Close Split <div className="navbar-buttons explore-first-button">
</button> <button className="btn navbar-button" onClick={this.onClickCloseSplit}>
</div> Close Split
</button>
</div>
</>
)} )}
{!datasourceMissing ? ( {!datasourceMissing ? (
<div className="navbar-buttons"> <div className="navbar-buttons">
...@@ -274,7 +277,11 @@ export class Explore extends React.PureComponent<ExploreProps> { ...@@ -274,7 +277,11 @@ export class Explore extends React.PureComponent<ExploreProps> {
<div className="navbar-buttons relative"> <div className="navbar-buttons relative">
<button className="btn navbar-button navbar-button--primary" onClick={this.onSubmit}> <button className="btn navbar-button navbar-button--primary" onClick={this.onSubmit}>
Run Query{' '} Run Query{' '}
{loading ? <i className="fa fa-spinner fa-fw fa-spin run-icon" /> : <i className="fa fa-level-down fa-fw run-icon" />} {loading ? (
<i className="fa fa-spinner fa-fw fa-spin run-icon" />
) : (
<i className="fa fa-level-down fa-fw run-icon" />
)}
</button> </button>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment