From e7160b21151277c81ff5d6720858cc9b3a79ca8d 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 56d0269aad..74bb2095bf 100644 --- a/src/Card/index.scss +++ b/src/Card/index.scss @@ -353,6 +353,8 @@ a.pgn__card { bottom: #{-$card-logo-bottom-offset}; width: $card-logo-width; height: $card-logo-height; + object-fit: scale-down; + object-position: center center; border-radius: $card-logo-border-radius; box-shadow: $level-1-box-shadow; padding: map_get($spacers, 2);