File tree Expand file tree Collapse file tree 4 files changed +60
-16
lines changed
proposals/UserProposalDashboard Expand file tree Collapse file tree 4 files changed +60
-16
lines changed Original file line number Diff line number Diff line change 11.feed-posts {
22 display : flex ;
33 flex-direction : column ;
4- width : 140 % ;
4+ width : 100 % ;
55 h1 {
66 font-size : 26px ;
77 font-weight : bold ;
Original file line number Diff line number Diff line change 177177 }
178178 }
179179}
180+
181+ @media (min-width : 320px ) and (max-width : 1024px ){
182+ .dashboard-content {
183+ padding : 0 ;
184+ height : 100% ;
185+ .searchbar-container {
186+ .button-container {
187+ .posts {
188+ width : 100% ;
189+ .category {
190+ text-align : center ;
191+ button {
192+ margin : 5px ;
193+ }
194+ }
195+ }
196+ }
197+ }
198+ .proposal-container {
199+ .proposals {
200+ .single-proposal {
201+ .proposal-content {
202+ .proposal-options {
203+ .option-btn {
204+ margin-top : 5px ;
205+ }
206+ }
207+ }
208+ }
209+ }
210+ }
211+ }
212+ }
Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ class UserProposalDashboard extends Component {
1414 }
1515 render ( ) {
1616 return (
17- < div className = "proposal_dashboard" >
18- < div className = "proposal_dashboard__navigation" >
19- < Navigation dashboard = { this . state . dashboard } />
17+ < >
18+ < Navigation dashboard = { this . state . dashboard } />
19+ < div className = "proposal_dashboard" >
20+ < div className = "proposal_dashboard__content" >
21+ < DashboardContent />
22+ </ div >
23+ < div className = "proposal_dashboard__rightpanel" >
24+ < DashboardRightPanel />
25+ </ div >
2026 </ div >
21- < div className = "proposal_dashboard__content" >
22- < DashboardContent />
23- </ div >
24- < div className = "proposal_dashboard__rightpanel" >
25- < DashboardRightPanel />
26- </ div >
27- </ div >
27+ </ >
2828 ) ;
2929 }
3030}
Original file line number Diff line number Diff line change 11.proposal_dashboard {
2- // display: flex;
2+ display : flex ;
33 min-height : 100vh ;
44 height : auto ;
55 font-family : Muli, sans-serif ;
6- .proposal_dashboard__navigation {
7- flex : 1 ;
8- border-right : solid 1px #dfe9f1 ;
9- }
6+ margin-left : 13% ;
107 .proposal_dashboard__content {
118 flex : 4 ;
129 }
1310 .proposal_dashboard__rightpanel {
1411 flex : 2 ;
1512 }
1613}
14+
15+ @media (min-width : 320px ) and (max-width : 1024px ){
16+ .proposal_dashboard {
17+ padding : 2.5vh 2.5vw ;
18+ margin-left : 0 ;
19+ flex-direction : column ;
20+ .proposal_dashboard__content {
21+ flex : 1 ;
22+ }
23+ .proposal_dashboard__rightpanel {
24+ flex : 1 ;
25+ }
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments