fix(hero): use `pre-wrap` for text and tagline (#746)

pull/763/head
Anthony Fu 3 years ago committed by GitHub
parent 8bf4182453
commit 94704c9563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,6 +115,7 @@ defineProps<{
line-height: 40px;
font-size: 32px;
font-weight: 700;
white-space: pre-wrap;
}
.VPHero.has-image .name,
@ -161,6 +162,7 @@ defineProps<{
line-height: 28px;
font-size: 18px;
font-weight: 500;
white-space: pre-wrap;
color: var(--vp-c-text-2);
}

Loading…
Cancel
Save