diff --git a/docs/.vuepress/components/HomePage.vue b/docs/.vuepress/components/HomePage.vue index 504bacb..fb6e021 100644 --- a/docs/.vuepress/components/HomePage.vue +++ b/docs/.vuepress/components/HomePage.vue @@ -350,6 +350,9 @@ function whenVisible( // A label may carry a "\n" where the line should break on wide screens. const causeLines = computed(() => labels.value.home.causeTitle.split('\n')); +const englishLines = computed(() => + labels.value.home.englishTitle.split('\n') +); onMounted(() => { confetti(); @@ -643,7 +646,13 @@ onBeforeUnmount(() => {
-

{{ labels.home.englishTitle }}

+

+ +

{{ labels.home.englishBody }}

@@ -1018,9 +1027,13 @@ onBeforeUnmount(() => { max-width: none; } @media (max-width: 720px) { - .cause-h br.lb { + .cause-h br.lb, + #english .fg-h br.lb { display: none; } + #english .fg-h { + max-width: 28ch; + } .cause-h.has-break { max-width: 22ch; } @@ -1205,7 +1218,7 @@ onBeforeUnmount(() => { text-wrap: balance; } #english .fg-h { - max-width: 28ch; + max-width: none; font-size: clamp(32px, 3.9vw, 54px); } #english { diff --git a/docs/.vuepress/components/TestimonyRiver.vue b/docs/.vuepress/components/TestimonyRiver.vue index aea73a0..ded2311 100644 --- a/docs/.vuepress/components/TestimonyRiver.vue +++ b/docs/.vuepress/components/TestimonyRiver.vue @@ -1,7 +1,7 @@