File tree Expand file tree Collapse file tree 3 files changed +37
-11
lines changed
src/user/proposals/ProposalDiscussion Expand file tree Collapse file tree 3 files changed +37
-11
lines changed Original file line number Diff line number Diff line change 9191 }
9292 }
9393}
94+
95+
96+ @media (min-width : 320px ) and (max-width : 1024px ){
97+ .discussion-content {
98+ padding : 2.5vh 2.5vw ;
99+ height : 100% ;
100+ .discussion-toppanel {
101+ width : 100% ;
102+ flex-direction : column ;
103+ margin : 2.5vh 0 ;
104+ align-items : center ;
105+ }
106+ .discussion-bottompanel {
107+ flex-direction : column ;
108+ .proposal-preview {
109+ min-height : 50vh ;
110+ }
111+ .comments {
112+ padding : 0 ;
113+ }
114+ }
115+ }
116+ }
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ class ProposalDiscussion extends Component {
1010 }
1111 render ( ) {
1212 return (
13- < div className = "discussion" >
14- < div className = "discussion__navigation" >
15- < Navigation dashboard = { this . state . dashboard } />
13+ < >
14+ < Navigation dashboard = { this . state . dashboard } />
15+ < div className = "discussion" >
16+ < div className = "discussion__content" >
17+ < DiscussionContent />
18+ </ div >
1619 </ div >
17- < div className = "discussion__content" >
18- < DiscussionContent />
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- .discussion__navigation {
7- flex : 1 ;
8- border-right : solid 1px #dfe9f1 ;
9- }
6+ margin-left : 13% ;
107 .discussion__content {
118 flex : 5.5 ;
129 }
1310}
11+
12+ @media (min-width : 320px ) and (max-width : 1024px ){
13+ .discussion {
14+ margin-left : 0 ;
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments