updated styles

This commit is contained in:
Torkel Ödegaard
2018-12-13 21:24:41 +01:00
parent dc22beadca
commit 9c13520e97
10 changed files with 203 additions and 206 deletions

View File

@@ -10,7 +10,8 @@ interface Props {
}
export interface EditorToolBarView {
title: string;
title?: string;
heading?: string;
imgSrc?: string;
icon?: string;
disabled?: boolean;
@@ -90,7 +91,7 @@ export class EditorTabBody extends PureComponent<Props, State> {
return (
<div className="panel-option-section">
<div className="panel-option-section__header">
{view.title}
{view.title || view.heading}
<button className="btn btn-link" onClick={this.onCloseOpenView}>
<i className="fa fa-remove" />
</button>