word break underscore

This commit is contained in:
Pete Matsyburka
2024-04-05 19:08:59 +03:00
parent 8e2700b8b8
commit 226ae2172e
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
@update:model-value="updateName" @update:model-value="updateName"
/> />
</div> </div>
<div class="space-x-3 flex items-center"> <div class="space-x-3 flex items-center flex-shrink-0">
<slot <slot
v-if="$slots.buttons" v-if="$slots.buttons"
name="buttons" name="buttons"
@@ -40,7 +40,7 @@
@click="maybeShowEmptyTemplateAlert" @click="maybeShowEmptyTemplateAlert"
> >
<IconWritingSign <IconWritingSign
width="20" width="22"
class="inline" class="inline"
/> />
<span class="hidden md:inline"> <span class="hidden md:inline">
@@ -14,7 +14,10 @@
@focus="$emit('focus', $event)" @focus="$emit('focus', $event)"
@blur="onBlur" @blur="onBlur"
> >
{{ value }} <template
v-for="(item, index) in (value || '').split(/(_)/)"
:key="index"
>{{ item }}<wbr></template>
</span> </span>
<span <span
v-if="withRequired" v-if="withRequired"