Merge pull request #8376 from netchampfaris/text-overflow-fix

fix: Overflowing values for Text, Small Text
This commit is contained in:
mergify[bot] 2019-09-08 08:39:44 +00:00 committed by GitHub
commit 10ea3964bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -560,7 +560,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
data-filter="${fieldname},=,${value}">
${_value}
</a>`;
} else if (df.fieldtype === 'Text Editor') {
} else if (['Text Editor', 'Text', 'Small Text'].includes(df.fieldtype)) {
html = `<span class="text-muted ellipsis">
${_value}
</span>`;