aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-04-20 12:09:08 -0700
committerMark Otto <[email protected]>2013-04-20 12:09:08 -0700
commitafdab35aca4ccfbe9214c4cdf6f6b1d2da595cad (patch)
tree7128b72c34ed3e7ba7b94a9b7159fe683e2c611b /less
parent90b195872e0c88c337be8eb9c032d1952c75e578 (diff)
downloadbootstrap-afdab35aca4ccfbe9214c4cdf6f6b1d2da595cad.tar.xz
bootstrap-afdab35aca4ccfbe9214c4cdf6f6b1d2da595cad.zip
Fixes #7640: only reset margin on last-child p within blockquotes
Diffstat (limited to 'less')
-rw-r--r--less/type.less6
1 files changed, 4 insertions, 2 deletions
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;