2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Add an example of v4's media component in the flex utils docs (#33207)

* Add an example of v4's media component in the flex utils docs

* Link to new example from Migration guide

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Mark Otto
2021-03-02 06:08:32 -08:00
committed by GitHub
parent a4c4f7917b
commit 1df59bb17f
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ We've updated the color system that powers Bootstrap to improve color contrast a
Changes to any layout tools and our grid system.
- Dropped the `.media` component as it can be built with utility classes. [See #28265](https://github.com/twbs/bootstrap/pull/28265).
- Dropped the `.media` component as it can be built with utility classes. [See #28265](https://github.com/twbs/bootstrap/pull/28265) and the [flex utilities page for an example]({{< docsref "/utilities/flex#media-object" >}}).
- Remove `position: relative` from grid columns.
- The horizontal padding is added to the direct children in a row instead of the columns themselves.
- This simplifies our codebase.