From afdab35aca4ccfbe9214c4cdf6f6b1d2da595cad Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 20 Apr 2013 12:09:08 -0700 Subject: Fixes #7640: only reset margin on last-child p within blockquotes --- less/type.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/type.less b/less/type.less index 5305a0df6..1235b3931 100644 --- a/less/type.less +++ b/less/type.less @@ -196,15 +196,17 @@ abbr.initialism { // Blockquotes blockquote { - padding: 0 0 0 15px; + padding: (@line-height-base/2) @line-height-base; margin: 0 0 @line-height-base; border-left: 5px solid @grayLighter; p { - margin-bottom: 0; font-size: (@font-size-base * 1.25); font-weight: 300; line-height: 1.25; } + p:last-child { + margin-bottom: 0; + } small { display: block; line-height: @line-height-base; -- cgit v1.2.3