|
@@ -134,15 +134,16 @@ class MyDraftList extends React.Component {
|
|
|
const totalCount = this.state.totalDrafts;
|
|
const totalCount = this.state.totalDrafts;
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <div className="page-list-container-create">
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <div className="page-list-container-create ">
|
|
|
|
|
+ <h2>My Drafts</h2>
|
|
|
|
|
+ <hr />
|
|
|
{ totalCount === 0
|
|
{ totalCount === 0
|
|
|
- && <span>No drafts yet.</span>
|
|
|
|
|
|
|
+ && <span className="mt-2">No drafts yet.</span>
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
{ totalCount > 0 && (
|
|
{ totalCount > 0 && (
|
|
|
<React.Fragment>
|
|
<React.Fragment>
|
|
|
- <div className="d-flex justify-content-between">
|
|
|
|
|
|
|
+ <div className="d-flex justify-content-between mt-2">
|
|
|
<h4>Total: {totalCount} drafts</h4>
|
|
<h4>Total: {totalCount} drafts</h4>
|
|
|
<div className="align-self-center">
|
|
<div className="align-self-center">
|
|
|
<button type="button" className="btn btn-sm btn-outline-danger" onClick={this.clearAllDrafts}>
|
|
<button type="button" className="btn btn-sm btn-outline-danger" onClick={this.clearAllDrafts}>
|
|
@@ -152,7 +153,7 @@ class MyDraftList extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="tab-pane mt-5 accordion" id="draft-list">
|
|
|
|
|
|
|
+ <div className="tab-pane mt-2 accordion" id="draft-list">
|
|
|
{draftList}
|
|
{draftList}
|
|
|
</div>
|
|
</div>
|
|
|
<PaginationWrapper
|
|
<PaginationWrapper
|