mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
adding back button
This commit is contained in:
parent
c8e42c0216
commit
9caae8c8c0
@ -87,6 +87,9 @@ export class PanelEditor extends PureComponent<PanelEditorProps> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="panel-editor-container__editor">
|
<div className="panel-editor-container__editor">
|
||||||
|
<div className="panel-editor__close">
|
||||||
|
<i className="fa fa-arrow-left" />
|
||||||
|
</div>
|
||||||
{
|
{
|
||||||
// <div className="panel-editor-resizer">
|
// <div className="panel-editor-resizer">
|
||||||
// <div className="panel-editor-resizer__handle">
|
// <div className="panel-editor-resizer__handle">
|
||||||
|
@ -40,6 +40,24 @@
|
|||||||
box-shadow: $popover-shadow;
|
box-shadow: $popover-shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel-editor__close {
|
||||||
|
@include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl);
|
||||||
|
position: absolute;
|
||||||
|
left: 11px;
|
||||||
|
top: 5px;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
i {
|
||||||
|
flex-grow: 1;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.panel-editor__scroll {
|
.panel-editor__scroll {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user