Skip to content

Commit cf16996

Browse files
author
Kuniwak
committed
Fix broken layout on Safari
1 parent 791d43e commit cf16996

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/stage1/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
.js-training {
2+
display: -webkit-flex;
23
display: flex;
34
list-style: none;
45
margin: 10px;
56
padding: 0;
67
}
78

89
.js-training li {
10+
-webkit-flex: 1;
911
flex: 1;
1012
margin: 0;
1113
padding: 0;
@@ -31,6 +33,7 @@
3133
}
3234

3335
.js-training .turquoise {
36+
-webkit-flex: 0.5;
3437
flex: 0.5;
3538
background-color: turquoise;
3639
}
@@ -40,7 +43,7 @@
4043
margin: 0;
4144
height: 40px;
4245
font-weight: bold;
43-
font-size: 130%;
46+
font-size: 1;
4447
}
4548

4649
.js-training [data-js-training="blueviolet"] {
@@ -60,6 +63,7 @@
6063
}
6164

6265
.js-training .mediumturquoise {
66+
-webkit-flex: 0.5;
6367
flex: 0.5;
6468
background-color: mediumturquoise;
6569
}

0 commit comments

Comments
 (0)