1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

restore inline block on breadcrumbs and ensure proper code formatting for readibility

This commit is contained in:
Mark Otto 2013-12-18 14:27:21 -08:00
parent 961687e4db
commit 3416e87a97
4 changed files with 7 additions and 4 deletions

View file

@ -4094,7 +4094,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
border-radius: 4px;
}
.breadcrumb > li {
display: inline;
display: inline-block;
}
.breadcrumb > li + li:before {
padding: 0 5px;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -9,14 +9,17 @@
list-style: none;
background-color: @breadcrumb-bg;
border-radius: @border-radius-base;
> li {
display: inline;
display: inline-block;
+ li:before {
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px;
color: @breadcrumb-color;
}
}
> .active {
color: @breadcrumb-active-color;
}