Skip to content

Commit 4d86102

Browse files
columns
1 parent 6f921dd commit 4d86102

File tree

1 file changed

+44
-7
lines changed

1 file changed

+44
-7
lines changed

src/App.vue

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,29 @@
99
</blockquote>
1010

1111
<!-- <vue-content-loading class="loading"></vue-content-loading> -->
12-
13-
<vcl-facebook class="loading"></vcl-facebook>
12+
<h2>So how it looks like?</h2>
13+
14+
<div class="row">
15+
<div>
16+
<h5>Facebook</h5>
17+
<vcl-facebook class="loading"></vcl-facebook>
18+
</div>
19+
20+
<div>
21+
<h5>Instagram</h5>
22+
<vcl-instagram class="loading"></vcl-instagram>
23+
</div>
24+
</div>
1425
</article>
1526
</template>
1627

1728
<script>
18-
import VueContentLoading, { VclFacebook } from './core/components.js';
29+
import VueContentLoading, { VclFacebook, VclInstagram, } from './core/components.js';
1930
2031
export default {
2132
components: {
2233
VclFacebook,
34+
VclInstagram,
2335
VueContentLoading,
2436
},
2537
};
@@ -29,14 +41,39 @@
2941
@import "../node_modules/github-markdown-css/github-markdown.css";
3042
3143
body {
32-
padding: 45px;
3344
margin: 0 auto;
34-
max-width: 980px;
35-
min-width: 200px;
45+
max-width: 780px;
46+
padding: 45px 15px;
3647
box-sizing: border-box;
3748
}
3849
3950
.loading {
40-
max-width: 450px;
51+
min-width: 300px;
52+
}
53+
54+
.row {
55+
display: flex;
56+
flex-wrap: wrap;
57+
58+
> div {
59+
flex: 1;
60+
padding: 0 10px;
61+
62+
&:first-of-type {
63+
padding-left: 0;
64+
padding-right: 10px;
65+
}
66+
67+
&:last-of-type {
68+
padding-right: 0;
69+
padding-left: 10px;
70+
}
71+
}
72+
}
73+
74+
@media screen and (max-width: 650px) {
75+
.row > div {
76+
padding: 0 !important;
77+
}
4178
}
4279
</style>

0 commit comments

Comments
 (0)