Skip to content

Commit 94704c9

Browse files
authoredJun 9, 2022
fix(hero): use pre-wrap for text and tagline (#746)
1 parent 8bf4182 commit 94704c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/client/theme-default/components/VPHero.vue

+2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ defineProps<{
115115
line-height: 40px;
116116
font-size: 32px;
117117
font-weight: 700;
118+
white-space: pre-wrap;
118119
}
119120
120121
.VPHero.has-image .name,
@@ -161,6 +162,7 @@ defineProps<{
161162
line-height: 28px;
162163
font-size: 18px;
163164
font-weight: 500;
165+
white-space: pre-wrap;
164166
color: var(--vp-c-text-2);
165167
}
166168

0 commit comments

Comments
 (0)
Please sign in to comment.