Added break-words and hypens to prevent event cta from overflowing
This commit is contained in:
3
app.vue
3
app.vue
@@ -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" },
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user