Skip to content

Commit d60219d

Browse files
authored
Merge pull request #358 from gronke/breadcrumb-auto-style
automatically style first and last breadcrumb
2 parents 6eed484 + a9c18d0 commit d60219d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/primer-breadcrumb/lib/breadcrumb.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.breadcrumb-item {
22
display: inline-block;
3-
margin-left: -$spacer-1;
43
white-space: nowrap;
54
list-style: none;
65

@@ -12,6 +11,7 @@
1211
}
1312
}
1413

14+
:last-child .breadcrumb-item,
1515
.breadcrumb-item-selected {
1616
&::after {
1717
content: none;

0 commit comments

Comments
 (0)