Skip to content

Commit

Permalink
[Blueprint] Fixed a bug in the calculations for the +colborder mixin. C…
Browse files Browse the repository at this point in the history
…loses GH-25.
  • Loading branch information
chriseppstein committed Jul 9, 2009
1 parent 8be4fd3 commit d2b1370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
Expand Up @@ -146,8 +146,8 @@

// Border with more whitespace, spans one column.
=colborder(!border_color = #eee, !border_width = 1px)
:padding-right= floor((!blueprint_grid_width - 2 * !blueprint_grid_margin - !border_width)/2)
:margin-right= ceil((!blueprint_grid_width - 2 * !blueprint_grid_margin - !border_width)/2)
:padding-right= floor((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
:margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
:border-right #{!border_width} solid #{!border_color}

// Mixin this to an hr to make a horizontal ruler across a column.
Expand Down

0 comments on commit d2b1370

Please sign in to comment.