Skip to content

Commit

Permalink
Remove the display property from u-sizeFull
Browse files Browse the repository at this point in the history
Setting this display property clashes with other utilities on the
component. This utility should only concern itself with the width and
the border-box (to ensure element does not exceed parent)

Fixes #35
  • Loading branch information
simonsmith committed Jul 8, 2016
1 parent a2b3aec commit 027c3ae
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions lib/size-lg.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@
*/

.u-lg-sizeFull {
box-sizing: border-box !important;
display: block !important;
width: 100% !important;
}

Expand Down
2 changes: 0 additions & 2 deletions lib/size-md.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@
*/

.u-md-sizeFull {
box-sizing: border-box !important;
display: block !important;
width: 100% !important;
}

Expand Down
2 changes: 0 additions & 2 deletions lib/size-sm.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@
*/

.u-sm-sizeFull {
box-sizing: border-box !important;
display: block !important;
width: 100% !important;
}

Expand Down
2 changes: 0 additions & 2 deletions lib/size.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,5 @@
*/

.u-sizeFull {
box-sizing: border-box !important;
display: block !important;
width: 100% !important;
}
4 changes: 4 additions & 0 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
margin: 0 0 10px;
}

html {
box-sizing: border-box;
}

.u-flex {
display: -webkit-flex !important;
display: -ms-flexbox !important;
Expand Down

0 comments on commit 027c3ae

Please sign in to comment.