fix: Remove ellipsis to avoid cliping of useful content

This commit is contained in:
Suraj Shetty 2021-06-02 12:15:58 +05:30
parent 1d7b72b75d
commit 0e3d8626c4
2 changed files with 4 additions and 1 deletions

View file

@ -141,7 +141,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
return $('<li></li>')
.data('item.autocomplete', d)
.prop('aria-selected', 'false')
.html(`<a><p class="ellipsis" title="${_label}">${html}</p></a>`)
.html(`<a><p title="${_label}">${html}</p></a>`)
.get(0);
},
sort: function() {

View file

@ -31,6 +31,7 @@
margin: 0;
padding: var(--padding-xs);
z-index: 1;
min-width: 250px;
&> li {
cursor: pointer;
@ -44,6 +45,8 @@
}
p {
margin-bottom: 0;
overflow-y: clip;
text-overflow: ellipsis;
}
}