Skip to content

Commit 6e8c953

Browse files
committed
styles: Inline obsolete order mixin
This CSS property is supported by all of our target browsers by now see https://caniuse.com/#feat=mdn-css_properties_order
1 parent 5d3bf43 commit 6e8c953

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

app/styles/_helpers.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,3 @@
6464
-webkit-flex: $stuff;
6565
flex: $stuff;
6666
}
67-
68-
@mixin order($ord) {
69-
-webkit-order: $ord;
70-
order: $ord;
71-
}

app/styles/me.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,11 @@
260260
@media only screen and (max-width: 750px) {
261261
@include flex-direction(column);
262262

263-
#my-feed { @include order(0); }
263+
#my-feed {
264+
order: 0;
265+
}
264266
#my-crate-lists {
265-
@include order(1);
267+
order: 1;
266268
margin-right: 0;
267269
}
268270
#my-crates, #my-following { margin: 0; }

0 commit comments

Comments
 (0)