Skip to content

Commit

Permalink
Merge pull request #267 from inuitcss/tkt-0266
Browse files Browse the repository at this point in the history
[refs #266] Add --auto modifier for layout object
  • Loading branch information
csshugs committed Dec 30, 2016
2 parents f52a70d + c87dfcc commit c588759
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions objects/_objects.layout.scss
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 c588759

Please sign in to comment.