]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add margin variable for paragraphs (#23140)
authorPrateek Goel <prateekgoel@users.noreply.github.com>
Fri, 11 Aug 2017 06:00:01 +0000 (07:00 +0100)
committerMark Otto <markd.otto@gmail.com>
Fri, 11 Aug 2017 06:00:01 +0000 (23:00 -0700)
scss/_reboot.scss
scss/_variables.scss

index 2adedda60d264bfc0a115f386bbb8844ead5649e..9a6b025f6ef799e5975a69de37f100d8333a391f 100644 (file)
@@ -103,7 +103,7 @@ h1, h2, h3, h4, h5, h6 {
 // bottom margin to use `rem` units instead of `em`.
 p {
   margin-top: 0;
-  margin-bottom: 1rem;
+  margin-bottom: $paragraph-margin-bottom;
 }
 
 // Abbreviations
index 8990ad75e04ff80e6951d5a4621454571fb2ef63..23e1cf3f52a01dcd96e334d046257dce0d49a4ea 100644 (file)
@@ -13,6 +13,7 @@
 // Spacing
 // Body
 // Links
+// Paragraphs
 // Grid breakpoints
 // Grid containers
 // Grid columns
@@ -167,6 +168,12 @@ $link-decoration:       none !default;
 $link-hover-color:      darken($link-color, 15%) !default;
 $link-hover-decoration: underline !default;
 
+// Paragraphs
+//
+// Style p element.
+
+$paragraph-margin-bottom: 1rem;
+
 
 // Grid breakpoints
 //