app/assets/stylesheets/active_admin/mixins/_icons.css.scss in activeadmin-0.6.0 vs app/assets/stylesheets/active_admin/mixins/_icons.css.scss in activeadmin-0.6.1
- old
+ new
@@ -1,10 +1,9 @@
-body.active_admin {
- span.icon { vertical-align: middle; display: inline-block; }
- span.icon svg { vertical-align: baseline; }
-}
+span.icon { vertical-align: middle; display: inline-block; }
+span.icon svg { vertical-align: baseline; }
+
@mixin icon-color ($color) {
span.icon svg {
path, polygon, rect, circle { fill: $color !important; }
}
}
@@ -17,8 +16,6 @@
@mixin icon($color, $size) {
@include icon-color($color);
@include icon-size($size);
}
-body.active_admin {
- @include icon-size(0.8em);
-}
+@include icon-size(0.8em);