From 7717b9b6b18233974ec4c79bf0182b68f6a5e987 Mon Sep 17 00:00:00 2001 From: yuyinws Date: Wed, 8 Jan 2025 13:08:26 +0800 Subject: [PATCH] fix(theme): includes text to h1 tag for hero page --- src/client/theme-default/components/VPHero.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/theme-default/components/VPHero.vue b/src/client/theme-default/components/VPHero.vue index 9fc1f396c1a3..fc80cb6c6813 100644 --- a/src/client/theme-default/components/VPHero.vue +++ b/src/client/theme-default/components/VPHero.vue @@ -29,10 +29,10 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref
-

- +

+ +

-

@@ -127,6 +127,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref .name, .text { + display: inline-block; max-width: 392px; letter-spacing: -0.4px; line-height: 40px;