]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Cleanup breadcrumb divider last item 7718/head
authorRobert Burns <burnsra@gmail.com>
Mon, 29 Apr 2013 01:51:02 +0000 (21:51 -0400)
committerRobert Burns <burnsra@gmail.com>
Mon, 29 Apr 2013 01:51:02 +0000 (21:51 -0400)
Modify to hide both padding and leading/trailing whitespace
Thanks to https://github.com/holic for suggestion

docs/assets/css/bootstrap.css
less/breadcrumbs.less

index 97e43f22cd28bab3032ecf47545e76d7920d4bb4..12d4e502136d6e8d246fa9116867a2843a82af42 100644 (file)
@@ -4024,7 +4024,7 @@ button.close {
 }
 
 .breadcrumb > li:last-child:after {
-  content: "";
+  display: none;
 }
 
 .breadcrumb > .active {
index feb4f771d49cebd58157d932f30e4ac6e0b59b77..87a6f0e371798dea4a078a2e12a60a7397966e44 100644 (file)
@@ -19,7 +19,7 @@
       color: #ccc;
     }
     &:last-child:after {
-      content: ""; // No divider after last element
+      display: none; // No divider after last element
     }
   }
   > .active {