Skip to content

Commit 1905b18

Browse files
committed
Existing Proposal Editor Fix
1 parent 56c5a8d commit 1905b18

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/user/proposals/ProposalEditor/EditorContent/EditorContent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ class EditorContent extends Component {
225225
</div>
226226
</div>
227227
<div className="editor-buttons">
228+
<div className="editor-buttons__container">
228229
{this.state.newProposal ? (
229230
<Button
230231
variant="primary"
@@ -263,7 +264,7 @@ class EditorContent extends Component {
263264
<span className="option-text">Submit</span>
264265
</Button>
265266
) : null}
266-
267+
</div>
267268
<div>
268269
{!this.state.newProposal ? (
269270
<StyledDropzone

src/user/proposals/ProposalEditor/EditorContent/EditorContent.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,16 @@
105105
width: 100%;
106106
}
107107
.editor-buttons {
108-
// text-align: center;
109108
margin: 20px auto;
109+
width: 100%;
110+
.editor-buttons__container {
111+
display: flex;
112+
align-items: center;
113+
justify-content: space-between;
114+
.option-btn {
115+
padding: 0 0.5rem;
116+
}
117+
}
110118
}
111119
}
112120
}

0 commit comments

Comments
 (0)