From 475fe5b68e0685a08ce88dd5c609a772285f6dca Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 21 Mar 2025 13:04:24 +0530 Subject: [PATCH] Update src/client/theme-default/components/VPHero.vue --- src/client/theme-default/components/VPHero.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/components/VPHero.vue b/src/client/theme-default/components/VPHero.vue index 4b05397d..568feb3e 100644 --- a/src/client/theme-default/components/VPHero.vue +++ b/src/client/theme-default/components/VPHero.vue @@ -322,8 +322,9 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref left: 50%; max-width: 192px; max-height: 192px; - height: 100%; - aspect-ratio: 1; + width: 100%; + height: 100% + object-fit: contain; /*rtl:ignore*/ transform: translate(-50%, -50%); }