Commit 9caae8c8 by Torkel Ödegaard

adding back button

parent c8e42c02
...@@ -87,6 +87,9 @@ export class PanelEditor extends PureComponent<PanelEditorProps> { ...@@ -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 @@ ...@@ -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;
......
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