[profile][bug] avoid possible non-breaking long lines in users' descriptions

This commit is contained in:
Andrea Vos 2023-03-11 11:27:08 +01:00
parent 38295b0b40
commit 81b7c7696a

View File

@ -25,7 +25,7 @@
<section class="row">
<div v-if="hasDescriptionColumn" :class="['col-12', manyFlagsLayout ? '' : 'col-lg-6']">
<div v-if="profile.description" class="mb-3">
<p v-for="line in profile.description.split('\n')" class="mb-1">
<p v-for="line in profile.description.split('\n')" class="mb-1" style="word-break: break-word;">
<Spelling escape :text="line"/>
</p>
</div>