File tree Expand file tree Collapse file tree 2 files changed +38
-14
lines changed
Expand file tree Collapse file tree 2 files changed +38
-14
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ function Dashboard() {
135135 case '0' :
136136 return 'Failed' ;
137137 case '1' :
138- return 'Completed' ;
138+ return 'Ready for review' ;
139+ case 'completed' :
140+ return 'Ready for review' ;
139141 case '2' :
140142 return 'In Progress' ;
141143 default :
Original file line number Diff line number Diff line change 33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6+ body {
7+ min-height : 400px ;
8+ }
9+
10+ html , body , app {
11+ height : 100% ;
12+ min-height : 100% ;
13+ }
14+
615.dashboard-container {
7- display : flex;
8- flex-direction : column;
16+ display : grid;
17+ grid-template-rows : auto 1fr ;
18+ grid-template-columns : 1fr 1fr ;
19+ grid-template-areas :
20+ "header header"
21+ "left-column right-column" ;
922 height : 100vh ;
10- max-height : 100vh ;
23+ max-height : calc ( 100vh - 32 px ) ;
1124 padding : 16px ;
1225 gap : 16px ;
1326 overflow : hidden;
1427}
1528
1629.dashboard-header {
30+ grid-area : header;
1731 display : flex;
1832 justify-content : space-between;
1933 align-items : center;
20- margin-bottom : 16px ;
2134}
2235
2336.dashboard-title {
4053}
4154
4255.dashboard-content {
43- display : flex;
44- flex : 1 ;
56+ grid-column : 1 / -1 ;
57+ grid-row : 2 ;
58+ display : grid;
59+ grid-template-columns : 1fr 1fr ;
4560 gap : 16px ;
4661 overflow : hidden;
62+ min-height : 0 ;
4763}
4864
4965.dashboard-column {
50- flex : 1 ;
5166 display : flex;
5267 flex-direction : column;
5368 overflow : hidden;
54- min-height : 400px ;
69+ min-height : 0 ;
70+ min-width : 0 ;
5571}
5672
5773.column-header {
201217}
202218
203219.loading-indicator {
220+ grid-column : 1 / -1 ;
221+ grid-row : 1 / -1 ;
204222 display : flex;
205223 justify-content : center;
206224 align-items : center;
218236 margin : 8px 0 ;
219237}
220238
221- @media (max-width : 768px ) {
222- .dashboard-content {
223- flex-direction : column;
239+ @media (max-width : 600px ) {
240+ .dashboard-container {
241+ grid-template-columns : 1fr ;
242+ grid-template-areas :
243+ "header"
244+ "left-column"
245+ "right-column" ;
224246 }
225247
226- .dashboard-column {
227- min-height : 300 px ;
248+ .dashboard-content {
249+ grid-template-columns : 1 fr ;
228250 }
229251}
You can’t perform that action at this time.
0 commit comments