From 7a83d0d71ee05cb9972d551b58b1bb7d0c12d002 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 7 Apr 2009 15:32:53 -0700 Subject: [PATCH] [Blueprint] Update liquid plugin to have a span mixin that matches elsewhere. --- .../blueprint/stylesheets/blueprint/modules/_liquid.sass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass b/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass index 0f5a0335..87043942 100644 --- a/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +++ b/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass @@ -81,8 +81,12 @@ :margin 0 auto +clearfix -=span(!n) - :width= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) +=span(!n, !override = false) + !width = (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) + @if !override + :width = !width !important + @else + :width = !width =last :margin-right 0