Skip to content

Commit

Permalink
Merge pull request #33 from bbc/another-floated-layout-fix
Browse files Browse the repository at this point in the history
Correction for the float fix in #32
  • Loading branch information
wildlyinaccurate authored Mar 13, 2017
2 parents d3b13b4 + 9aeea48 commit dec9f8e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gel-grid",
"version": "3.0.3",
"version": "3.0.4",
"homepage": "http://www.bbc.co.uk/gel",
"authors": [
"Shaun Bent <shaun.bent@bbc.co.uk>"
Expand Down
4 changes: 2 additions & 2 deletions lib/_tools.scss
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@
* 1. Prevents floated layout items from shrinking the layout
*/
.#{$gel-grid-namespace}layout--no-flex {
width: 100%; // [1]
min-width: 100%; // [1]

&,
> .#{$gel-grid-namespace}layout__item {
display: block;
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": "gel-grid",
"version": "3.0.3",
"version": "3.0.4",
"description": "A flexible code implementation of the GEL Grid",
"main": "_grid.scss",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/test-expected.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
* 1. Prevents floated layout items from shrinking the layout
*/
.gel-layout--no-flex {
width: 100%;
min-width: 100%;
}

.gel-layout--no-flex,
Expand Down

0 comments on commit dec9f8e

Please sign in to comment.