1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 00:24:03 +02:00

Cleanup breadcrumb divider last item

Modify to hide both padding and leading/trailing whitespace
Thanks to https://github.com/holic for suggestion
This commit is contained in:
Robert Burns
2013-04-28 21:51:02 -04:00
parent cd06c5baac
commit 447be1b326
2 changed files with 2 additions and 2 deletions

View File

@@ -4024,7 +4024,7 @@ button.close {
} }
.breadcrumb > li:last-child:after { .breadcrumb > li:last-child:after {
content: ""; display: none;
} }
.breadcrumb > .active { .breadcrumb > .active {

View File

@@ -19,7 +19,7 @@
color: #ccc; color: #ccc;
} }
&:last-child:after { &:last-child:after {
content: ""; // No divider after last element display: none; // No divider after last element
} }
} }
> .active { > .active {