From d2b1370c80a32f70ae6ec94126b737f4f0fc0851 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Thu, 9 Jul 2009 12:48:15 -0700 Subject: [PATCH] [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25. --- frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass b/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass index 33c27da8b9..92c0a7759a 100644 --- a/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +++ b/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.