Add margin variable for paragraphs#23140
Add margin variable for paragraphs#23140mdo merged 5 commits intotwbs:v4-devfrom prateekgoel:variable-for-paragraph-margin
Conversation
mdo
left a comment
There was a problem hiding this comment.
Paragraphs don't have horizontal margin on them (by default or from Bootstrap), so there's no need to reset them if there is nothing there to begin with.
Please restore the margin-top: 0; and use a variable for the margin-bottom.
Also, no need to shorten the word to four letters—use $paragraph-margin-bottom or something like that maybe?
|
Ok. I'll do these changes. Thanks. |
|
@mdo For now, I have restored |
|
@mdo Any update on this? |
mdo
left a comment
There was a problem hiding this comment.
This'll go in for Beta 2 at the earliest.
scss/_variables.scss
Outdated
| $breadcrumb-padding-x: 1rem !default; | ||
| $breadcrumb-item-padding: .5rem !default; | ||
|
|
||
| $breadcrumb-margin: 0 0 1rem !default; |
There was a problem hiding this comment.
Crap, I typo-ed—I meant shouldn't be here. It's in the wrong PR, so you can remove it.
…ateekgoel/bootstrap into variable-for-paragraph-margin
I added a section for paragraphs in _variables.scss, used that variable to change hard coded margin value for p element.
Fixes #23031