0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01: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; border-radius: 4px;
} }
.breadcrumb > li { .breadcrumb > li {
display: inline; display: inline-block;
} }
.breadcrumb > li + li:before { .breadcrumb > li + li:before {
padding: 0 5px; 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; list-style: none;
background-color: @breadcrumb-bg; background-color: @breadcrumb-bg;
border-radius: @border-radius-base; border-radius: @border-radius-base;
> li { > li {
display: inline; display: inline-block;
+ li:before { + li:before {
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px; padding: 0 5px;
color: @breadcrumb-color; color: @breadcrumb-color;
} }
} }
> .active { > .active {
color: @breadcrumb-active-color; color: @breadcrumb-active-color;
} }