File tree Expand file tree Collapse file tree 3 files changed +31
-25
lines changed Expand file tree Collapse file tree 3 files changed +31
-25
lines changed Original file line number Diff line number Diff line change 22
33.splash-file {
44 display :block ;
5- flex :0 0 60% ;
65 margin-bottom :0.5em ;
76
87 & __img {
Original file line number Diff line number Diff line change 66 display :flex ;
77 height :calc (100vh - 55px );
88 min-height :320px ;
9- max-height :960 px ;
9+ max-height :720 px ;
1010 background :getColor (elephant );
1111
1212 & __modules ,
1313 & __output {
14- flex :0 0 43.25% ;
15- }
16-
17- & __icon {
18- display :flex ;
19- flex :1 1 auto ;
20- align-items :center ;
21- justify-content :center ;
22- }
23-
24- & __cube {
25- img {
26- width :100% ;
27- }
14+ flex :0 0 45% ;
2815 }
2916
3017 & __modules {
3320 @include break {
3421 display :flex ;
3522 align-items :center ;
36- justify-content :center ;
23+ justify-content : flex-end ;
24+
25+ img {
26+ margin-right :10% ;
27+ width :40% ;
28+ max-width :400px ;
29+ }
3730 }
3831 }
3932
33+ & __icon {
34+ display :flex ;
35+ flex :1 1 auto ;
36+ align-items :center ;
37+
38+ img { width :100% ; }
39+ }
40+
4041 & __output {
4142 display :none ;
4243
4344 @include break {
4445 display :flex ;
45- flex-wrap :wrap ;
46- align-content :center ;
47- justify-content :center ;
46+ align-items :center ;
4847 }
4948 }
49+
50+ & __files {
51+ width :40% ;
52+ max-width :400px ;
53+ margin-left :10% ;
54+ }
5055}
Original file line number Diff line number Diff line change @@ -32,11 +32,13 @@ export default class SplashViz extends React.Component {
3232 </ div >
3333
3434 < div className = "splash-viz__output" >
35- {
36- this . state . files . map ( ( file , i ) => (
37- < SplashFile key = { i } { ...file } />
38- ) )
39- }
35+ < div className = "splash-viz__files" >
36+ {
37+ this . state . files . map ( ( file , i ) => (
38+ < SplashFile key = { i } { ...file } />
39+ ) )
40+ }
41+ </ div >
4042 </ div >
4143 </ section >
4244 ) ;
You can’t perform that action at this time.
0 commit comments