From 76a4c303eed00a1f30b7a6d2d1d04fdf2f935e62 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 8 Dec 2015 02:20:25 -0800 Subject: [PATCH] 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 `
    `-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] --- docs/components/breadcrumb.md | 23 ++++++++++++++++------- docs/migration.md | 4 ++++ scss/_breadcrumb.scss | 20 ++++++++++---------- scss/_variables.scss | 5 +++-- 4 files changed, 33 insertions(+), 19 deletions(-) diff --git a/docs/components/breadcrumb.md b/docs/components/breadcrumb.md index bfd7ef1b61..204a60c81e 100644 --- a/docs/components/breadcrumb.md +++ b/docs/components/breadcrumb.md @@ -8,17 +8,26 @@ Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). +Works fine with or without the usage of list markup. + {% example html %} -