diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index 8f0ee9607..b4ad37eba 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -70,6 +70,7 @@ const Snippetbar = createClass({ onClick={this.props.redo} > +
this.props.onViewChange('text')}> diff --git a/client/homebrew/editor/snippetbar/snippetbar.less b/client/homebrew/editor/snippetbar/snippetbar.less index 51e832174..371f51fda 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.less +++ b/client/homebrew/editor/snippetbar/snippetbar.less @@ -33,10 +33,25 @@ &.undo{ .tooltipLeft('Undo'); font-size : 0.75em; + color : grey; + &.active{ + color : black; + } } &.redo{ .tooltipLeft('Redo'); font-size : 0.75em; + color : grey; + &.active{ + color : black; + } + } + &.divider { + background: linear-gradient(#000, #000) no-repeat center/1px 100%; + width: 5px; + &:hover{ + background-color: inherit; + } } } }