|
@@ -176,21 +176,22 @@ class RecentChanges extends React.Component {
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
<div className="grw-sidebar-content-header p-3 d-flex">
|
|
<div className="grw-sidebar-content-header p-3 d-flex">
|
|
|
- <h3 className="mb-0">{t('Recent Changes')}</h3>
|
|
|
|
|
- {/* <h3 className="mb-0">{t('Recent Created')}</h3> */} {/* TODO: impl switching */}
|
|
|
|
|
- <button type="button" className="btn btn-sm ml-auto grw-btn-reload-rc" onClick={this.reloadData}>
|
|
|
|
|
|
|
+ <h3 className="mb-0 text-nowrap">{t('Recent Changes')}</h3>
|
|
|
|
|
+ <button type="button" className="btn btn-sm ml-auto grw-btn-reload" onClick={this.reloadData}>
|
|
|
<i className="icon icon-reload"></i>
|
|
<i className="icon icon-reload"></i>
|
|
|
</button>
|
|
</button>
|
|
|
- <div className="grw-recent-changes-resize-button custom-control custom-switch ml-2">
|
|
|
|
|
- <input
|
|
|
|
|
- id="recentChangesResize"
|
|
|
|
|
- className="custom-control-input"
|
|
|
|
|
- type="checkbox"
|
|
|
|
|
- checked={this.state.isRecentChangesSidebarSmall}
|
|
|
|
|
- onChange={this.changeSizeHandler}
|
|
|
|
|
- />
|
|
|
|
|
- <label className="custom-control-label" htmlFor="recentChangesResize">
|
|
|
|
|
- </label>
|
|
|
|
|
|
|
+ <div className="d-flex align-items-center">
|
|
|
|
|
+ <div className="grw-recent-changes-resize-button custom-control custom-switch ml-1">
|
|
|
|
|
+ <input
|
|
|
|
|
+ id="recentChangesResize"
|
|
|
|
|
+ className="custom-control-input"
|
|
|
|
|
+ type="checkbox"
|
|
|
|
|
+ checked={this.state.isRecentChangesSidebarSmall}
|
|
|
|
|
+ onChange={this.changeSizeHandler}
|
|
|
|
|
+ />
|
|
|
|
|
+ <label className="custom-control-label" htmlFor="recentChangesResize">
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="grw-sidebar-content-body grw-recent-changes p-3">
|
|
<div className="grw-sidebar-content-body grw-recent-changes p-3">
|