Skip to content

Commit

Permalink
Merge pull request #1183 from primer/avatar-flex-shrink-0
Browse files Browse the repository at this point in the history
Adds flex-shrink: 0 to .avatar class
  • Loading branch information
simurai authored Mar 11, 2021
2 parents 74c5442 + c938b83 commit 873c0d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/avatars/avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
vertical-align: middle;
background-color: var(--color-avatar-bg); // adds opaque bg to transparent avatars
border-radius: $border-radius;
flex-shrink: 0;
// stylelint-disable-next-line primer/box-shadow
box-shadow: 0 0 0 1px var(--color-avatar-border);
}
Expand Down

0 comments on commit 873c0d1

Please sign in to comment.