Permalink
Browse files

[Blueprint] Fixed a bug in the calculations for the +colborder mixin. C…

…loses GH-25.
  • Loading branch information...
chriseppstein committed Jul 9, 2009
1 parent 8be4fd3 commit d2b1370c80a32f70ae6ec94126b737f4f0fc0851
Showing with 2 additions and 2 deletions.
  1. +2 −2 frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
@@ -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.

0 comments on commit d2b1370

Please sign in to comment.