Skip to content

Commit

Permalink
[refs #266] Add --auto modifier for layout object
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Heibült committed Dec 30, 2016
1 parent f52a70d commit c87dfcc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions objects/_objects.layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.