Skip to content

Commit 0bdbf22

Browse files
fixing sizing of live example boxes on the order examples
1 parent 7a2d629 commit 0bdbf22

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

flexbox/order/negative-order.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
}
2828

2929
textarea:nth-of-type(1) {
30-
height: 80px
30+
height: 160px
3131
}
3232

3333
textarea:nth-of-type(2) {
34-
height: 90px
34+
height: 140px
3535
}
3636

3737
.playable-buttons {
@@ -98,7 +98,7 @@
9898
<div><a href="#">5</a></div>
9999
</div>
100100
</section>
101-
101+
102102
<textarea class="playable-css">
103103
.box {
104104
display: flex;

flexbox/order/order.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
}
2727

2828
textarea:nth-of-type(1) {
29-
height: 80px
29+
height: 160px
3030
}
3131

3232
textarea:nth-of-type(2) {
33-
height: 90px
33+
height: 140px
3434
}
3535

3636
.playable-buttons {
@@ -97,7 +97,7 @@
9797
<div><a href="#">5</a></div>
9898
</div>
9999
</section>
100-
100+
101101
<textarea class="playable-css">
102102
.box {
103103
display: flex;

flexbox/order/usecase-order.html

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
}
2828

2929
textarea:nth-of-type(1) {
30-
height: 80px
30+
height: 160px
3131
}
3232

3333
textarea:nth-of-type(2) {
34-
height: 90px
34+
height: 200px
3535
}
3636

3737
.playable-buttons {
@@ -68,24 +68,25 @@
6868
padding: 10px;
6969
}
7070

71-
71+
7272

7373

7474
</style>
7575
<style class="editable">
7676
.card {
77-
display: flex;
78-
flex-direction: column;
77+
display: flex;
78+
flex-direction: column;
7979
}
80+
8081
.date {
81-
order: -1;
82-
text-align: right;
83-
}
82+
order: -1;
83+
text-align: right;
84+
}
8485
</style>
8586
</head>
8687

8788
<body>
88-
89+
8990
<section>
9091
<div class="wrapper">
9192
<div class="card">
@@ -100,16 +101,16 @@ <h3>Another title</h3>
100101
</div>
101102
</div>
102103
</section>
103-
104+
104105
<textarea class="playable-css">
105106
.card {
106107
display: flex;
107-
flex-direction: column;
108+
flex-direction: column;
108109
}
109110
.date {
110111
order: -1;
111112
text-align: right;
112-
}
113+
}
113114
</textarea>
114115
<textarea id="code" class="playable-html">
115116
<div class="wrapper">
@@ -123,7 +124,7 @@ <h3>Another title</h3>
123124
<div class="date">6 Nov 2017</div>
124125
<p>This is the content of my news item. Very newsworthy.</p>
125126
</div>
126-
</div>
127+
</div>
127128
</textarea>
128129
<div class="playable-buttons">
129130
<input id="reset" type="button" value="Reset">

0 commit comments

Comments
 (0)