1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 18:02:37 +02:00

Add margin variable for paragraphs (#23140)

This commit is contained in:
Prateek Goel
2017-08-11 07:00:01 +01:00
committed by Mark Otto
parent 9497c2164c
commit 7c452ac607
2 changed files with 8 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ h1, h2, h3, h4, h5, h6 {
// bottom margin to use `rem` units instead of `em`. // bottom margin to use `rem` units instead of `em`.
p { p {
margin-top: 0; margin-top: 0;
margin-bottom: 1rem; margin-bottom: $paragraph-margin-bottom;
} }
// Abbreviations // Abbreviations

View File

@@ -13,6 +13,7 @@
// Spacing // Spacing
// Body // Body
// Links // Links
// Paragraphs
// Grid breakpoints // Grid breakpoints
// Grid containers // Grid containers
// Grid columns // Grid columns
@@ -167,6 +168,12 @@ $link-decoration: none !default;
$link-hover-color: darken($link-color, 15%) !default; $link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: underline !default; $link-hover-decoration: underline !default;
// Paragraphs
//
// Style p element.
$paragraph-margin-bottom: 1rem;
// Grid breakpoints // Grid breakpoints
// //