diff options
| author | Mark Otto <[email protected]> | 2015-09-04 21:28:01 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-09-04 21:28:01 -0700 |
| commit | b8c77aaf3b29b1b3d09b3d7bd6ad153d9c315365 (patch) | |
| tree | 3208881c52e1d5375fa57c8da241511da1049da3 | |
| parent | dd5e096f4e8ac52f472dc87304dfe0377df51734 (diff) | |
| download | bootstrap-b8c77aaf3b29b1b3d09b3d7bd6ad153d9c315365.tar.xz bootstrap-b8c77aaf3b29b1b3d09b3d7bd6ad153d9c315365.zip | |
float the breadcrumb items to deal with that pesky inline-block madness
| -rw-r--r-- | scss/_breadcrumb.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_breadcrumb.scss b/scss/_breadcrumb.scss index 07ca300a5..eaec059bb 100644 --- a/scss/_breadcrumb.scss +++ b/scss/_breadcrumb.scss @@ -4,16 +4,16 @@ list-style: none; background-color: $breadcrumb-bg; @include border-radius($border-radius); + @include clearfix; > li { - display: inline-block; + float: left; + li::before { - $nbsp: "\00a0"; padding-right: .5rem; padding-left: .5rem; color: $breadcrumb-divider-color; - content: "#{$breadcrumb-divider}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space + content: "#{$breadcrumb-divider}"; // Unicode space added since inline-block means non-collapsing white-space } } |
