From 7b9b00758eccca79012dcfbabf88b287dd3ffa39 Mon Sep 17 00:00:00 2001 From: Sergej Lotz Date: Wed, 26 Feb 2014 20:34:34 +0100 Subject: [PATCH] Replace the
margin difference with its width By default the bottom margin of the
tag is 1px smaller than the top margin. This results through the default $hr-border-width: 1px; setting. If you change $hr-border-width to another value the margin-bottom still remains the same. This fix resolves this issue, so the bottom margin respond to the $hr-border-width value. --- scss/foundation/components/_type.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/foundation/components/_type.scss b/scss/foundation/components/_type.scss index 2afb60770..4842b77b7 100755 --- a/scss/foundation/components/_type.scss +++ b/scss/foundation/components/_type.scss @@ -291,7 +291,7 @@ $microformat-abbr-font-decoration: none !default; border: $hr-border-style $hr-border-color; border-width: $hr-border-width 0 0; clear: both; - margin: $hr-margin 0 ($hr-margin - rem-calc(1)); + margin: $hr-margin 0 ($hr-margin - em-calc(strip-unit($hr-border-width))); height: 0; } -- 2.47.2