Skip to content

Commit

Permalink
[OP-149] Fix Avatar Squish inside a flex container (#213)
Browse files Browse the repository at this point in the history
This PR fixes an issue with the Avatar component that would get squished on small screens.
  • Loading branch information
Jeremy-Walton authored Feb 7, 2024
1 parent d6340bf commit 21d9c28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
display: block;
overflow: hidden;
width: var(--__op-avatar-size);
min-width: var(--__op-avatar-size);
height: var(--__op-avatar-size);
min-height: var(--__op-avatar-size);
border-radius: var(--_op-avatar-border-radius);

&::before {
Expand Down

0 comments on commit 21d9c28

Please sign in to comment.