From 524f15da337b1062927f974f43a5ef74a6b913ab Mon Sep 17 00:00:00 2001 From: Hamzah Ullah Date: Wed, 11 Sep 2024 11:37:00 -0400 Subject: [PATCH] fix: scales down card logo cap (#3218) --- src/Card/index.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Card/index.scss b/src/Card/index.scss index 383726a8cf..270238b957 100644 --- a/src/Card/index.scss +++ b/src/Card/index.scss @@ -352,6 +352,8 @@ a.pgn__card { bottom: calc(-1 * var(--pgn-spacing-card-logo-bottom-offset-base)); width: var(--pgn-size-card-logo-width); height: var(--pgn-size-card-logo-height); + object-fit: scale-down; + object-position: center center; border-radius: var(--pgn-size-card-border-radius-logo); box-shadow: var(--pgn-elevation-box-shadow-level-1); padding: map_get($spacers, 2);