Skip to content

Commit

Permalink
fix(hero): use pre-wrap for text and tagline (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu authored Jun 9, 2022
1 parent 8bf4182 commit 94704c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/theme-default/components/VPHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ defineProps<{
line-height: 40px;
font-size: 32px;
font-weight: 700;
white-space: pre-wrap;
}
.VPHero.has-image .name,
Expand Down Expand Up @@ -161,6 +162,7 @@ defineProps<{
line-height: 28px;
font-size: 18px;
font-weight: 500;
white-space: pre-wrap;
color: var(--vp-c-text-2);
}
Expand Down

0 comments on commit 94704c9

Please sign in to comment.