mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #14945 from grafana/hugoh/bug-misalignment-of-explore-panels
Hack for getting the same height in splitted view
This commit is contained in:
@@ -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> {
|
|||||||
<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>
|
||||||
|
|||||||
Reference in New Issue
Block a user