|
|
@@ -246,23 +246,25 @@ class SearchResult extends React.Component {
|
|
|
linkTo={pageId}
|
|
|
key={page._id}
|
|
|
>
|
|
|
- { this.state.deletionMode
|
|
|
- && (
|
|
|
- <div className="custom-control custom-checkbox custom-checkbox-danger">
|
|
|
- <input
|
|
|
- type="checkbox"
|
|
|
- id="page-delete-check"
|
|
|
- className="custom-control-input search-result-list-delete-checkbox"
|
|
|
- value={pageId}
|
|
|
- checked={this.state.selectedPages.has(page)}
|
|
|
- onChange={() => { return this.toggleCheckbox(page) }}
|
|
|
- />
|
|
|
- <label className="custom-control-label" htmlFor="page-delete-check"></label>
|
|
|
- </div>
|
|
|
- )
|
|
|
- }
|
|
|
- <div className="page-list-option">
|
|
|
- <a href={page.path}><i className="icon-login" /></a>
|
|
|
+ <div className="ml-auto d-flex">
|
|
|
+ { this.state.deletionMode
|
|
|
+ && (
|
|
|
+ <div className="custom-control custom-checkbox custom-checkbox-danger">
|
|
|
+ <input
|
|
|
+ type="checkbox"
|
|
|
+ id="page-delete-check"
|
|
|
+ className="custom-control-input search-result-list-delete-checkbox"
|
|
|
+ value={pageId}
|
|
|
+ checked={this.state.selectedPages.has(page)}
|
|
|
+ onChange={() => { return this.toggleCheckbox(page) }}
|
|
|
+ />
|
|
|
+ <label className="custom-control-label" htmlFor="page-delete-check"></label>
|
|
|
+ </div>
|
|
|
+ )
|
|
|
+ }
|
|
|
+ <div className="page-list-option">
|
|
|
+ <a href={page.path}><i className="icon-login" /></a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</Page>
|
|
|
);
|