Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/smooth-crabs-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

This border change was made to ensure that assignee avatars would stack next to one another correctly.
8 changes: 6 additions & 2 deletions src/avatars/avatar-stack.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
// stylelint-enable selector-max-type

// Account for 4+ avatars
&:nth-child(n+4) {
&:nth-child(n + 4) {
display: none;
opacity: 0;
}
Expand All @@ -68,7 +68,7 @@
margin-right: 3px;
}

.avatar:nth-child(n+4) {
.avatar:nth-child(n + 4) {
display: flex;
opacity: 1;
}
Expand Down Expand Up @@ -118,6 +118,10 @@
// stylelint-disable-next-line primer/spacing
margin-left: 3px;
}

.avatar:not(:last-child) {
border-left: 0;
}
}

.avatar.avatar-more {
Expand Down