[Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25.
This commit is contained in:
parent
8be4fd38c6
commit
d2b1370c80
@ -146,8 +146,8 @@
|
|||||||
|
|
||||||
// Border with more whitespace, spans one column.
|
// Border with more whitespace, spans one column.
|
||||||
=colborder(!border_color = #eee, !border_width = 1px)
|
=colborder(!border_color = #eee, !border_width = 1px)
|
||||||
:padding-right= floor((!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)
|
:margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
||||||
:border-right #{!border_width} solid #{!border_color}
|
:border-right #{!border_width} solid #{!border_color}
|
||||||
|
|
||||||
// Mixin this to an hr to make a horizontal ruler across a column.
|
// Mixin this to an hr to make a horizontal ruler across a column.
|
||||||
|
Loading…
Reference in New Issue
Block a user