Skip to content

Commit

Permalink
Merge pull request #20 from sky-uk/tkt-00019
Browse files Browse the repository at this point in the history
Add auto width class
  • Loading branch information
csswizardry authored May 5, 2017
2 parents 0845b46 + 1257b95 commit ab646cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions _tools.widths.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@

@mixin supercell($columns, $breakpoint: null) {

/**
* Generate an auto width utility class at each of our breakpoints.
*/
.u-width-auto#{$breakpoint} {
width: auto !important;
}

// Loop through the number of columns for each denominator of our fractions.
@each $denominator in $columns {

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supercell",
"version": "1.1.0",
"version": "1.2.0",
"description": "Grid-like layout system.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit ab646cf

Please sign in to comment.