From ad70bc56fc705e1883bb30343174ff57c5ec5c73 Mon Sep 17 00:00:00 2001 From: Mark Bogataj Date: Fri, 10 Jan 2025 12:50:26 +0100 Subject: [PATCH] fix: set width and height for xl icon only avatars --- packages/primeng/src/avatar/style/avatarstyle.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/primeng/src/avatar/style/avatarstyle.ts b/packages/primeng/src/avatar/style/avatarstyle.ts index 2dbd08ce9c4..929130b53ed 100644 --- a/packages/primeng/src/avatar/style/avatarstyle.ts +++ b/packages/primeng/src/avatar/style/avatarstyle.ts @@ -57,6 +57,8 @@ const theme = ({ dt }) => ` .p-avatar-xl .p-avatar-icon { font-size: ${dt('avatar.xl.font.size')}; + width: ${dt('avatar.lx.icon.size')}; + height: ${dt('avatar.lx.icon.size')}; } .p-avatar-group {