fix: properly break titles
This commit is contained in:
parent
bcef69d91c
commit
876ef91f63
@ -58,3 +58,9 @@ const prettyDate = latestDate.format("DD MMM YYYY");
|
|||||||
</HomeStatBox>
|
</HomeStatBox>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
h2 {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -23,7 +23,7 @@ const imgUrl = `url(/assets/images/projects/${project.img ?? ""})`;
|
|||||||
<div class="card-text h-full bg-white p-4 pt-2">
|
<div class="card-text h-full bg-white p-4 pt-2">
|
||||||
<div>
|
<div>
|
||||||
<h3 class="m-0">{{ project.name }}</h3>
|
<h3 class="m-0">{{ project.name }}</h3>
|
||||||
<div class="flex gap-1 items-center">
|
<div class="flex gap-1 items-center flex-nowrap">
|
||||||
<img
|
<img
|
||||||
class="h-5 w-5 m-0"
|
class="h-5 w-5 m-0"
|
||||||
:src="`/assets/images/langs/${lang}.svg`"
|
:src="`/assets/images/langs/${lang}.svg`"
|
||||||
|
@ -52,8 +52,10 @@ const prettyDate = latestDate.format("DD MMM YYYY");
|
|||||||
</template>
|
</template>
|
||||||
</ContentRenderer>
|
</ContentRenderer>
|
||||||
-->
|
-->
|
||||||
<p class="excerpt text-gray-600 dark:text-gray-300 text-base m-0 mt-5">
|
<p
|
||||||
{{ latest.description }} …
|
class="excerpt text-gray-600 dark:text-gray-300 text-base m-0 mt-5 text-ellipsis"
|
||||||
|
>
|
||||||
|
{{ latest.description }} ...
|
||||||
</p>
|
</p>
|
||||||
</HomeStatBox>
|
</HomeStatBox>
|
||||||
</div>
|
</div>
|
||||||
@ -61,6 +63,6 @@ const prettyDate = latestDate.format("DD MMM YYYY");
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
h2 {
|
h2 {
|
||||||
word-break: break-all;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user