2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

Refactor Breadcrumbs component

Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors,
so as to no longer require the usage of `<ol>`-based markup.

Rename variables to follow naming conventions:
* $breadcrumb-padding-vertical => $breadcrumb-padding-y
* $breadcrumb-padding-horizontal => $breadcrumb-padding-x

Introduce new variable: $breadcrumb-item-padding

[skip sauce]
This commit is contained in:
Chris Rebert
2015-12-08 02:20:25 -08:00
parent 5173cb1def
commit 76a4c303ee
4 changed files with 33 additions and 19 deletions
+4
View File
@@ -114,6 +114,10 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
- Explicit classes (`.page-item`, `.page-link`) are now required on the descendants of `.pagination`s
### Breadcrumbs
- An explicit class, `.breadcrumb-item`, is now required on the descendants of `.breadcrumb`s
### Badges
- Dropped the badge component. Use the `.label-pill` modifier together with the label component instead.