Skip to content

Commit

Permalink
Update navigation panel in proposal route to be properly styled
Browse files Browse the repository at this point in the history
Fix nav panel width and inconsistent background colour for proposal editor page
  • Loading branch information
varunks99 committed Oct 6, 2020
1 parent 01e9575 commit 53943aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/user/proposals/ProposalEditor/ProposalEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import "./ProposalEditor.scss";
class ProposalEditor extends Component {
constructor(props) {
super(props);
this.state = {};
this.state = {
org: true
};
}
render() {
return (
<div className="editor">
<div className="editor__navigation">
<Navigation dashboard={this.state.dashboard} />
<Navigation org={this.state.org} />
</div>
<div className="editor__content">
<EditorContent />
Expand Down
3 changes: 2 additions & 1 deletion src/user/proposals/ProposalEditor/ProposalEditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
height: auto;
font-family: Muli, sans-serif;
.editor__navigation {
flex: 1;
flex: 0.5;
border-right: solid 1px #dfe9f1;
background: #f5f5f5;
}
.editor__content {
flex: 5.5;
Expand Down

0 comments on commit 53943aa

Please sign in to comment.