Permalink
Browse files

[refs #266] Add --auto modifier for layout object

  • Loading branch information...
1 parent f52a70d commit c87dfccc97998228974e7ba80439233fe73888d2 @csshugs csshugs committed Dec 30, 2016
Showing with 19 additions and 0 deletions.
  1. +19 −0 objects/_objects.layout.scss
@@ -259,3 +259,22 @@ $inuit-use-markup-fix: false !default;
}
}
+
+
+
+
+
+/* Auto-widths modifier.
+ ========================================================================== */
+
+/**
+ * Cause layout items to take up a non-explicit amount of width.
+ */
+
+.o-layout--auto {
+
+ > .o-layout__item {
+ width: auto;
+ }
+
+}

0 comments on commit c87dfcc

Please sign in to comment.