Added break-words and hypens to prevent event cta from overflowing

This commit is contained in:
Alexis
2024-06-08 14:49:52 +02:00
parent 9314a8c3c2
commit 9aa2d26135
3 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ useHead({
titleTemplate: (titleChunk) => { titleTemplate: (titleChunk) => {
return titleChunk ? `${titleChunk} — TTTools` : 'TTTools'; return titleChunk ? `${titleChunk} — TTTools` : 'TTTools';
}, },
htmlAttrs: {
lang: 'fr'
},
meta: [ meta: [
{ name: "charset", content: "UTF-8" }, { name: "charset", content: "UTF-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1.0" }, { name: "viewport", content: "width=device-width, initial-scale=1.0" },

View File

@@ -59,7 +59,7 @@ function handleClosePopover() {
}) })
" "
> >
<div class="line-clamp-2"> <div class="line-clamp-2 [overflow-wrap:anywhere] hyphens-auto">
{{ eventTitle }} {{ eventTitle }}
</div> </div>
</button> </button>

View File

@@ -8,7 +8,7 @@ setCurrentMenu([])
</script> </script>
<template> <template>
<main class="h-full grid grid-cols-[auto_1fr]"> <main class="p-8">
Test <Heading>TTTools</Heading>
</main> </main>
</template> </template>