mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 10:34:07 +02:00
Revert padding-right on ol and ul in Reboot, update migration doc
This commit is contained in:
@@ -157,7 +157,6 @@ address {
|
|||||||
|
|
||||||
ol,
|
ol,
|
||||||
ul {
|
ul {
|
||||||
padding-right: 2rem;
|
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -102,7 +102,7 @@ All heading elements—e.g., `<h1>`—and `<p>` are reset to have their `margin-
|
|||||||
|
|
||||||
## Lists
|
## 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">
|
<div class="bd-example">
|
||||||
{{< markdown >}}
|
{{< markdown >}}
|
||||||
|
@@ -53,7 +53,7 @@ Changes to any layout tools and our grid system.
|
|||||||
Changes to Reboot, typography, tables, and more.
|
Changes to Reboot, typography, tables, and more.
|
||||||
|
|
||||||
- **Todo:** Make RFS enabled by default
|
- **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
|
## Forms
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user