File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 11# tile-wrap {
22 display : flex;
3+ flex : 1 ;
34 flex-direction : column;
45 align-content : center;
56
67 margin : 16px ;
7- width : 45 vw ;
8+ width : 100 % ;
89}
910
1011# tile {
5657# tile # description {
5758 flex : auto;
5859 padding : 0.5vh ;
60+ min-width : 285px ;
5961 font-size : 16px ;
6062}
6163
Original file line number Diff line number Diff line change 1010 display : flex;
1111 flex-direction : row;
1212 margin : 8px 0 ;
13+ }
14+
15+ # one-col {
16+ display : none;
17+ flex-direction : column;
18+ align-items : center;
19+ }
20+
21+ @media screen and (max-width : 1024px ) {
22+ # two-col {
23+ display : none;
24+ }
25+
26+ # one-col {
27+ display : flex;
28+ }
1329}
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ export const Projects = () => {
2020 </ div >
2121 ) }
2222 </ div >
23- { /* {tiles} */ }
23+ < div id = 'one-col' >
24+ { tiles }
25+ </ div >
2426 </ div >
2527 )
2628}
You can’t perform that action at this time.
0 commit comments