Skip to content

Commit

Permalink
Removing overflow: hidden; from columns, adding offset to .scss
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Tate committed Sep 29, 2011
1 parent e6d362e commit 3403639
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion css/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ body {
.column(@x,@columns:@columns) {
display: inline;
float: left;
overflow: hidden;
width: @total-width*((((@gutter-width+@column-width)*@x)-@gutter-width) / @_gridsystem-width);
margin: 0 @total-width*((@gutter-width*.5)/@_gridsystem-width);
}
Expand Down
5 changes: 3 additions & 2 deletions css/grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ body {
width: $total-width*(($gutter-width + $_gridsystem-width)/$_gridsystem-width);
margin: 0 $total-width*((($gutter-width*.5)/$_gridsystem-width)*-1);
}

@mixin column($x,$columns:$columns) {
display: inline;
float: left;
overflow: hidden;
width: $total-width*(((($gutter-width+$column-width)*$x)-$gutter-width) / $_gridsystem-width);
margin: 0 $total-width*(($gutter-width*.5)/$_gridsystem-width);
}
@mixin offset($offset:1) {
margin-left: ($gutter-width+$column-width)*$offset + $total-width*(($gutter-width*.5)/$_gridsystem-width);
}

0 comments on commit 3403639

Please sign in to comment.