Skip to content

Commit 10c9328

Browse files
skipjackSpaceK33z
authored andcommitted
Finishing temporary cleanup for SplashViz
1 parent 6eda748 commit 10c9328

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

components/splash-file/splash-file-style.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
.splash-file {
44
display:block;
5-
flex:0 0 60%;
65
margin-bottom:0.5em;
76

87
&__img {

components/splash-viz/splash-viz-style.scss

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,12 @@
66
display:flex;
77
height:calc(100vh - 55px);
88
min-height:320px;
9-
max-height:960px;
9+
max-height:720px;
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 {
@@ -33,18 +20,36 @@
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
}

components/splash-viz/splash-viz.jsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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
);

0 commit comments

Comments
 (0)