From 2f99d0b41627eecd5403e8601628287739bc71e6 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Fri, 31 Oct 2025 19:10:13 +0800 Subject: [PATCH] fix(components): prevent icon shrinking in PersonCard and ProjectCard Add shrink-0 class to icon elements to maintain consistent icon sizing when card layouts flex or wrap content. --- src/components/PersonCard.vue | 4 ++-- src/components/ProjectCard.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PersonCard.vue b/src/components/PersonCard.vue index fd657634..56c5dac9 100644 --- a/src/components/PersonCard.vue +++ b/src/components/PersonCard.vue @@ -7,12 +7,12 @@ conflict detection. * * @author Matthew Raymer */ diff --git a/src/components/ProjectCard.vue b/src/components/ProjectCard.vue index 953746aa..77d2aa34 100644 --- a/src/components/ProjectCard.vue +++ b/src/components/ProjectCard.vue @@ -10,7 +10,7 @@ issuer information. * * @author Matthew Raymer */ :entity-id="project.handleId" :icon-size="48" :image-url="project.image" - class="!size-[2rem] border border-slate-300 bg-white overflow-hidden rounded-full" + class="!size-[2rem] shrink-0 border border-slate-300 bg-white overflow-hidden rounded-full" />