File tree Expand file tree Collapse file tree 3 files changed +42
-8
lines changed
src/user/proposals/ProposalEditor Expand file tree Collapse file tree 3 files changed +42
-8
lines changed Original file line number Diff line number Diff line change 11.editor-content {
22 padding : 30px ;
33 display : flex ;
4- height : 100 vh ;
4+ height : 100 % ;
55 flex-direction : column ;
66 .editor-toppanel {
77 flex-grow : 1 ;
9090 }
9191 }
9292}
93+
94+ @media (min-width : 320px ) and (max-width : 1024px ){
95+ .editor-content {
96+ padding : 0 ;
97+ display : flex ;
98+ height : 100% ;
99+ flex-direction : column ;
100+ .editor-toppanel {
101+ flex-grow : 1 ;
102+ display : flex ;
103+ flex-direction : column ;
104+ .editor-title {
105+ width : 100% ;
106+ }
107+ .editor-buttons {
108+ // text-align: center;
109+ margin : 20px auto ;
110+ }
111+ }
112+ }
113+ }
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ class ProposalEditor extends Component {
1010 }
1111 render ( ) {
1212 return (
13- < div className = "editor" >
14- < div className = "editor__navigation" >
15- < Navigation dashboard = { this . state . dashboard } />
13+ < >
14+ < Navigation dashboard = { this . state . dashboard } />
15+ < div className = "editor" >
16+ < div className = "editor__content" >
17+ < EditorContent />
18+ </ div >
1619 </ div >
17- < div className = "editor__content" >
18- < EditorContent />
19- </ div >
20- </ div >
20+ </ >
2121 ) ;
2222 }
2323}
Original file line number Diff line number Diff line change 33 min-height : 100vh ;
44 height : auto ;
55 font-family : Muli, sans-serif ;
6+ margin-left : 13% ;
67 .editor__navigation {
78 flex : 1 ;
89 border-right : solid 1px #dfe9f1 ;
1112 flex : 5.5 ;
1213 }
1314}
15+
16+ @media (min-width : 320px ) and (max-width : 1024px ){
17+ .editor {
18+ padding : 2vh 2.5vw ;
19+ width : 100% ;
20+ margin-left : 0 ;
21+ .editor__content {
22+ padding : 0 ;
23+ width : 100% ;
24+ }
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments