Skip to content

Commit

Permalink
0.2.3: fullscreen fix
Browse files Browse the repository at this point in the history
  • Loading branch information
suenot committed Nov 8, 2018
1 parent 98329d6 commit 91a3d5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions react-client/src/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class Grid extends React.Component {
},
DashboardsStore.dashboardActiveId,
widget.i
)} className="pointer"/>
<ClearIcon style={{ fontSize: 18 }} onClick={this.removeWidget.bind(this, widget.i)} className="pointer"/>
)} className="pointer settings-icon"/>
<ClearIcon style={{ fontSize: 18 }} onClick={this.removeWidget.bind(this, widget.i)} className="pointer clear-icon"/>
</div>
</div>
<div className="widget-body">
Expand Down Expand Up @@ -116,6 +116,8 @@ class Grid extends React.Component {
}, 200)
item.querySelector('.fullscreen-exit-icon').classList.toggle('hide')
item.querySelector('.fullscreen-icon').classList.toggle('hide')
item.querySelector('.settings-icon').classList.toggle('hide')
item.querySelector('.clear-icon').classList.toggle('hide')
}
drawerRightToggle(component, width, data, dashboardId, widgetId) {
DrawersStore.drawerRightSet(component, width, data, dashboardId, widgetId)
Expand Down

0 comments on commit 91a3d5a

Please sign in to comment.