Skip to content

Commit c369635

Browse files
committed
automatically style first and last breadcrumb
1 parent b7610f1 commit c369635

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/primer-breadcrumb/lib/breadcrumb.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@
1212
}
1313
}
1414

15+
nav ol:last-child .breadcrumb-item,
1516
.breadcrumb-item-selected {
1617
&::after {
1718
content: none;
1819
}
1920
}
21+
22+
nav ol:first-child .breadcrumb-item {
23+
margin-left: 0;
24+
}

0 commit comments

Comments
 (0)