Skip to content

Commit

Permalink
Fixes twbs#6115: scope breadcrumb styles to immediate children only
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Dec 3, 2012
1 parent 06582ed commit 869b69c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4859,19 +4859,19 @@ input[type="submit"].btn.btn-mini {
border-radius: 4px;
}

.breadcrumb li {
.breadcrumb > li {
display: inline-block;
*display: inline;
text-shadow: 0 1px 0 #ffffff;
*zoom: 1;
}

.breadcrumb .divider {
.breadcrumb > .divider {
padding: 0 5px;
color: #ccc;
}

.breadcrumb .active {
.breadcrumb > .active {
color: #999999;
}

Expand Down
6 changes: 3 additions & 3 deletions less/breadcrumbs.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
list-style: none;
background-color: #f5f5f5;
.border-radius(@baseBorderRadius);
li {
> li {
display: inline-block;
.ie7-inline-block();
text-shadow: 0 1px 0 @white;
}
.divider {
> .divider {
padding: 0 5px;
color: #ccc;
}
.active {
> .active {
color: @grayLight;
}
}

0 comments on commit 869b69c

Please sign in to comment.