Commit b8c77aaf authored by Mark Otto's avatar Mark Otto
Browse files

float the breadcrumb items to deal with that pesky inline-block madness

parent dd5e096f
Showing with 3 additions and 3 deletions
+3 -3
......@@ -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
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment