From 082ec3eefbfef5d91b3e0c36519857b3bc1783ab Mon Sep 17 00:00:00 2001 From: Micah Eschbacher Date: Thu, 25 Oct 2012 12:29:12 -0500 Subject: [PATCH 1/2] Added in 'auto' as an available value on margins .mha replaces having a class to center block-level elements in a container. The rest are added to make this a complete set. --- core/spacing/space.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/spacing/space.css b/core/spacing/space.css index 8bec67ea..9ee58f21 100644 --- a/core/spacing/space.css +++ b/core/spacing/space.css @@ -48,3 +48,7 @@ s,m,l,n = small(5px),medium(10px),large(20px),none(0px) .mls,.mhs,.mas{margin-left:5px !important} .mlm,.mhm,.mam{margin-left:10px !important} .mll,.mhl,.mal{margin-left:20px !important} +.mta,.mva,.maa{margin-top:auto !important} +.mra,.mha,.maa{margin-right:auto !important} +.mba,.mva,.maa{margin-bottom:auto !important} +.mla,.mha,.maa{margin-left:auto !important} \ No newline at end of file From 616c3b9d866e214c0438ae84c2bc6bcc1ac46f7b Mon Sep 17 00:00:00 2001 From: Micah Eschbacher Date: Mon, 12 Nov 2012 13:27:08 -0600 Subject: [PATCH 2/2] Removed the unnecessary declarations margin-top:auto; and margin-bottom:auto are the same as margin-top:0; and margin-bottom:0; --- core/spacing/space.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/spacing/space.css b/core/spacing/space.css index 9ee58f21..e9f94c17 100644 --- a/core/spacing/space.css +++ b/core/spacing/space.css @@ -48,7 +48,5 @@ s,m,l,n = small(5px),medium(10px),large(20px),none(0px) .mls,.mhs,.mas{margin-left:5px !important} .mlm,.mhm,.mam{margin-left:10px !important} .mll,.mhl,.mal{margin-left:20px !important} -.mta,.mva,.maa{margin-top:auto !important} -.mra,.mha,.maa{margin-right:auto !important} -.mba,.mva,.maa{margin-bottom:auto !important} -.mla,.mha,.maa{margin-left:auto !important} \ No newline at end of file +.mra,.mha{margin-right:auto !important} +.mla,.mha{margin-left:auto !important} \ No newline at end of file