make flex work with webkit

pull/99/head
Romeo Van Snick 11 years ago
parent f4c9b6942d
commit 923fc900ee

@ -46,10 +46,16 @@ dd > pre {
// complexity classes are blue boxes // complexity classes are blue boxes
.with-complexity { .with-complexity {
display: flex; display: flex;
display: -webkit-flex;
justify-content: space-between; justify-content: space-between;
-webkit-justify-content: space-between;
align-items: flex-start; align-items: flex-start;
-webkit-align-items: flex-start;
align-content: stretch; align-content: stretch;
flex-direction: row; -webkit-align-content: stretch;
} }
.complexity { .complexity {
@ -60,12 +66,17 @@ dd > pre {
margin-bottom: 0.75em; margin-bottom: 0.75em;
font-style: italic; font-style: italic;
white-space: nowrap; white-space: nowrap;
flex-shrink: 0; flex-shrink: 0;
order:2; -webkit-flex-shrink: 0;
order: 2;
-webkit-order: 2;
} }
.complexity + span { .complexity + span {
order: 1; order: 1;
-webkit-order: 1;
} }
// add box type to "since: ..." // add box type to "since: ..."

Loading…
Cancel
Save