mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
wip: minor progres on react panels edit mode
This commit is contained in:
@@ -48,7 +48,7 @@ export class PanelChrome extends React.Component<Props, State> {
|
||||
let PanelComponent = this.panelComponent;
|
||||
|
||||
return (
|
||||
<div className="panel-height-helper">
|
||||
<div className="panel-editor-container">
|
||||
<div className="panel-container">
|
||||
<PanelHeader panel={this.props.panel} dashboard={this.props.dashboard} />
|
||||
<div className="panel-content" style={{ height: this.state.height }}>
|
||||
@@ -73,6 +73,6 @@ export class PanelChrome extends React.Component<Props, State> {
|
||||
height = panel.gridPos.h * GRID_CELL_HEIGHT + (panel.gridPos.h - 1) * GRID_CELL_VMARGIN;
|
||||
}
|
||||
|
||||
return height - PANEL_BORDER + TITLE_HEIGHT;
|
||||
return height - (PANEL_BORDER + TITLE_HEIGHT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user