Add ellipsis to dialog header h2 when content is too long

This commit is contained in:
Timothée Goguely 2024-11-20 16:24:24 +01:00
parent a750954940
commit fddde41166
2 changed files with 5 additions and 1 deletions

View file

@ -11,7 +11,7 @@
>
<template #header>
<a class="btn">Valider et envoyer le brief</a>
<h2 class="font-serif text-lg">
<h2 class="font-serif text-lg" :title="openedFile?.label.length ? openedFile.label : openedFile.name">
{{ openedFile?.label.length ? openedFile.label : openedFile.name }}
</h2>
</template>