Skip to content

Commit

Permalink
Merge pull request #358 from gronke/breadcrumb-auto-style
Browse files Browse the repository at this point in the history
automatically style first and last breadcrumb
  • Loading branch information
jonrohan authored Dec 8, 2017
2 parents 6eed484 + a9c18d0 commit d60219d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/primer-breadcrumb/lib/breadcrumb.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.breadcrumb-item {
display: inline-block;
margin-left: -$spacer-1;
white-space: nowrap;
list-style: none;

Expand All @@ -12,6 +11,7 @@
}
}

:last-child .breadcrumb-item,
.breadcrumb-item-selected {
&::after {
content: none;
Expand Down

0 comments on commit d60219d

Please sign in to comment.