Skip to content

Commit

Permalink
Toolbars: Dashboard toolbar visual fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpovolny committed Sep 16, 2019
1 parent a09f460 commit d381e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/components/dashboard_toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const addMenu = (items, locked) => {

return (
<Dropdown id="dropdown-custom-2">
<Dropdown.Toggle title={<span className="fa fa-plus fa-lg" />}/>
<Dropdown.Toggle componentClass={props => <button {...props} title={title} />} title={<span className="fa fa-plus fa-lg" />}/>
<Dropdown.Menu className='scrollable-menu'>
{ items.map(item =>
item.type === 'separator'
Expand All @@ -51,7 +51,7 @@ const renderDisabled = () => (
className="disabled btn btn-default dropdown-toggle"
title={__("No Widgets available to add")}
>
<i className="fa fa-reply fa-lg" />
<i className="fa fa-plus fa-lg" />
<span className="caret" />
</button>
</div>
Expand Down

0 comments on commit d381e78

Please sign in to comment.