From 2b9b28e95580832869c9ea6bc18cde88400c1b74 Mon Sep 17 00:00:00 2001 From: Harry Roberts Date: Fri, 5 May 2017 14:35:51 +0100 Subject: [PATCH 1/2] [refs #00019] Add auto width class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Whilst we’re looping over lots of different numbers, we can quite easily just drop an `auto` in there as well, which will also pick up on our breakpoints. --- _tools.widths.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_tools.widths.scss b/_tools.widths.scss index 292b67a..850fe34 100644 --- a/_tools.widths.scss +++ b/_tools.widths.scss @@ -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 { From 1257b957fb67a3144a6e3abb37849f8d1ae0dd9c Mon Sep 17 00:00:00 2001 From: Harry Roberts Date: Fri, 5 May 2017 15:57:20 +0100 Subject: [PATCH 2/2] [refs #00019] Bump version New feature means we have a minor level bump. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aaa2a57..b9a0bbe 100644 --- a/package.json +++ b/package.json @@ -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",