0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Revert padding-right on ol and ul in Reboot, update migration doc

This commit is contained in:
Mark Otto 2019-07-15 09:31:50 -07:00 committed by Mark Otto
parent 634344c003
commit 1cdba95c50
3 changed files with 2 additions and 3 deletions

View File

@ -157,7 +157,6 @@ address {
ol,
ul {
padding-right: 2rem;
padding-left: 2rem;
}

View File

@ -102,7 +102,7 @@ All heading elements—e.g., `<h1>`—and `<p>` are reset to have their `margin-
## Lists
All lists—`<ul>`, `<ol>`, and `<dl>`—have their `margin-top` removed and a `margin-bottom: 1rem`. Nested lists have no `margin-bottom`. We've also reset the horizontal `padding` on `<ul>` and `<ol>` elements.
All lists—`<ul>`, `<ol>`, and `<dl>`—have their `margin-top` removed and a `margin-bottom: 1rem`. Nested lists have no `margin-bottom`. We've also reset the `padding-left` on `<ul>` and `<ol>` elements.
<div class="bd-example">
{{< markdown >}}

View File

@ -53,7 +53,7 @@ Changes to any layout tools and our grid system.
Changes to Reboot, typography, tables, and more.
- **Todo:** Make RFS enabled by default
- Reset default horizontal `padding` on `<ul>` and `<ol>` elements from browser default `40px` to `2rem`.
- Reset default horizontal `padding-left` on `<ul>` and `<ol>` elements from browser default `40px` to `2rem`.
## Forms