Skip to content

Commit bb51ce7

Browse files
committed
remove negative margin left for breadcrumb items and add padding left to the slash after it
1 parent 1a23ed4 commit bb51ce7

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

app/components/primer/beta/breadcrumbs.pcss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.breadcrumb-item {
22
display: inline-block;
3-
/* stylelint-disable-next-line primer/spacing */
4-
margin-left: -0.35em;
53
list-style: none;
64
max-width: 100%;
75

@@ -10,15 +8,12 @@
108
height: 0.8em;
119
/* stylelint-disable-next-line primer/spacing */
1210
margin: 0 0.5em;
11+
padding-left: 0.35em;
1312
content: '';
1413
/* stylelint-disable-next-line primer/borders */
1514
border-right: 0.1em solid var(--borderColor-neutral-emphasis);
1615
transform: rotate(15deg) translateY(0.0625em);
1716
}
18-
19-
&:first-child {
20-
margin-left: 0;
21-
}
2217
}
2318

2419
.breadcrumb-item-selected,

0 commit comments

Comments
 (0)