From a968d300b434598e8c1735f08fc7ad5da9d40033 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 3 Oct 2011 22:14:50 -0700 Subject: overhaul the grid CSS to make it more durable for tables and forms to use the same sizing methods; need to see about improving this in the future --- lib/patterns.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index ce387614e..c4469e539 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -981,7 +981,7 @@ input[type=submit].btn { // ----------- .media-grid { - margin-left: -20px; + margin-left: -@gridGutterWidth; margin-bottom: 0; .clearfix(); li { @@ -990,7 +990,7 @@ input[type=submit].btn { a { float: left; padding: 4px; - margin: 0 0 20px 20px; + margin: 0 0 @baseline @gridGutterWidth; border: 1px solid #ddd; .border-radius(4px); .box-shadow(0 1px 1px rgba(0,0,0,.075)); -- cgit v1.2.3