app/assets/stylesheets/active_admin/mixins/_icons.css.scss in activeadmin-0.4.4 vs app/assets/stylesheets/active_admin/mixins/_icons.css.scss in activeadmin-0.5.0.pre
- old
+ new
@@ -1,7 +1,9 @@
-span.icon { vertical-align: middle; display: inline-block; }
-span.icon svg { vertical-align: baseline; }
+body.active_admin {
+ 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; }
}
@@ -15,6 +17,8 @@
@mixin icon($color, $size) {
@include icon-color($color);
@include icon-size($size);
}
-@include icon-size(0.8em);
+body.active_admin {
+ @include icon-size(0.8em);
+}