mirror of
https://github.com/primer/css.git
synced 2025-01-06 05:33:07 +03:00
Merge pull request #1183 from primer/avatar-flex-shrink-0
Adds flex-shrink: 0 to .avatar class
This commit is contained in:
commit
873c0d1397
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user