Skip to content

Commit

Permalink
QuickEdit: Fix truncate inline block.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Mar 21, 2021
1 parent 119f691 commit 4eb69d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/assets/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ Vue.component('cms-quick-edit', {
<template v-if="newValue === '' || newValue === null">&nbsp;</template>
<template v-else>
<template v-if="truncate">
<span :style="'max-width:' + truncate + 'px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis'">{{ newValue }}</span>
<span :style="'max-width:' + truncate + 'px;white-space:nowrap;overflow:hidden;display:inline-block;text-overflow:ellipsis'">{{ newValue }}</span>
</template>
<template v-else>
{{ newValue }}
Expand Down

0 comments on commit 4eb69d1

Please sign in to comment.