word break underscore

pull/250/head
Pete Matsyburka 2 years ago
parent 8e2700b8b8
commit 226ae2172e

@ -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"

Loading…
Cancel
Save