Skip to content

Commit d075c52

Browse files
fixing sizing on ratio examples
1 parent 7f9f116 commit d075c52

File tree

7 files changed

+20
-22
lines changed

7 files changed

+20
-22
lines changed

flexbox/ratios/flex-basis.html

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

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

3232
textarea:nth-of-type(2) {
@@ -81,7 +81,7 @@
8181
flex: 0 0 auto;
8282
}
8383

84-
84+
8585
</style>
8686
</head>
8787

flexbox/ratios/flex-grow-ratios.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969
</style>
7070

71-
<style class="editable">
71+
<style class="editable">
7272
.box {
7373
display: flex;
7474
}
@@ -84,8 +84,6 @@
8484
.three {
8585
flex: 2 1 0;
8686
}
87-
88-
8987
</style>
9088
</head>
9189

flexbox/ratios/flex-grow.html

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

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

3232
textarea:nth-of-type(2) {
@@ -77,7 +77,7 @@
7777
flex: 1 1 0;
7878
}
7979

80-
80+
8181
</style>
8282
</head>
8383

flexbox/ratios/flex-shrink-min-content.html

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

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

3232
textarea:nth-of-type(2) {
@@ -77,7 +77,7 @@
7777
flex: 1 1 auto;
7878
}
7979

80-
80+
8181
</style>
8282
</head>
8383

flexbox/ratios/flex-shrink-ratios.html

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

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

3232
textarea:nth-of-type(2) {
@@ -89,7 +89,7 @@
8989
flex: 1 4 auto;
9090
}
9191

92-
92+
9393
</style>
9494
</head>
9595

flexbox/ratios/flex-shrink.html

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

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

3232
textarea:nth-of-type(2) {
@@ -78,7 +78,7 @@
7878
width:200px;
7979
}
8080

81-
81+
8282
</style>
8383
</head>
8484

flexbox/ratios/min-max-content.html

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

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

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

3636
.playable-buttons {
@@ -55,9 +55,9 @@
5555
margin: 5px;
5656
}
5757

58-
5958

60-
59+
60+
6161
</style>
6262

6363
<style class="editable">
@@ -70,16 +70,16 @@
7070
border: 2px dotted rgb(96, 139, 168);
7171
}
7272

73-
73+
7474
</style>
7575
</head>
7676

7777
<body>
7878
<section>
79-
79+
8080
<p class="min-content">I am sized with min-content and so I will take all of the soft-wrapping opportunities.</p>
8181
<p class="max-content">I am sized with max-content and so I will take none of the soft-wrapping opportunities.</p>
82-
82+
8383
</section>
8484
<textarea class="playable-css">
8585
.min-content {
@@ -92,10 +92,10 @@
9292
}
9393
</textarea>
9494
<textarea id="code" class="playable-html">
95-
95+
9696
<p class="min-content">I am sized with min-content and so I will take all of the soft-wrapping opportunities.</p>
9797
<p class="max-content">I am sized with max-content and so I will take none of the soft-wrapping opportunities.</p>
98-
98+
9999
</textarea>
100100
<div class="playable-buttons">
101101
<input id="reset" type="button" value="Reset">

0 commit comments

Comments
 (0)