Skip to content

Commit 3778124

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/primer-breadcrumb/lib/breadcrumb.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,13 @@
1717
content: none;
1818
}
1919
}
20+
21+
nav ol:first-child .breadcrumb-item {
22+
margin-left: 0;
23+
}
24+
25+
nav ol:last-child .breadcrumb-item {
26+
&::after {
27+
content: none;
28+
}
29+
}

0 commit comments

Comments
 (0)