From 3b4cf63508d119e5f6088941c5af68d31842a762 Mon Sep 17 00:00:00 2001 From: Jeremy Walton Date: Fri, 2 Feb 2024 15:13:49 -0500 Subject: [PATCH] Add min width and height to prevent squishing inside of a flex container --- src/components/avatar.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/avatar.scss b/src/components/avatar.scss index 74238ad..81b0f72 100644 --- a/src/components/avatar.scss +++ b/src/components/avatar.scss @@ -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 {