diff options
| author | Mark Otto <[email protected]> | 2013-07-05 12:23:14 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-05 12:23:14 -0700 |
| commit | 3279181f4253eb37cae61ecc1a3842c3d559ea49 (patch) | |
| tree | 632f001655da14441b367103d52391313b1c1e46 /less | |
| parent | dd691b5c3687d706969fe05b8b2e04ece4558d41 (diff) | |
| parent | 5b69d3405301ebf9f7047a459f727cbe5f73aedd (diff) | |
| download | bootstrap-3279181f4253eb37cae61ecc1a3842c3d559ea49.tar.xz bootstrap-3279181f4253eb37cae61ecc1a3842c3d559ea49.zip | |
Merge pull request #8378 from liuyl/aftertosibling
optimize breadcrumb
Diffstat (limited to 'less')
| -rw-r--r-- | less/breadcrumbs.less | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/less/breadcrumbs.less b/less/breadcrumbs.less index 2fe8217a3..956944a8b 100644 --- a/less/breadcrumbs.less +++ b/less/breadcrumbs.less @@ -12,15 +12,12 @@ > li { display: inline-block; text-shadow: 0 1px 0 #fff; - &:after { + &+li:before { display: inline-block; - content: "\00a0 /"; // Unicode space added since inline-block means non-collapsing white-space + content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space padding: 0 5px; color: #ccc; } - &:last-child:after { - display: none; // No divider after last element - } } > .active { color: @gray-light; |
