@@ -141,7 +141,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat | |||||
return $('<li></li>') | return $('<li></li>') | ||||
.data('item.autocomplete', d) | .data('item.autocomplete', d) | ||||
.prop('aria-selected', 'false') | .prop('aria-selected', 'false') | ||||
.html(`<a><p class="ellipsis" title="${_label}">${html}</p></a>`) | |||||
.html(`<a><p title="${_label}">${html}</p></a>`) | |||||
.get(0); | .get(0); | ||||
}, | }, | ||||
sort: function() { | sort: function() { | ||||
@@ -31,6 +31,7 @@ | |||||
margin: 0; | margin: 0; | ||||
padding: var(--padding-xs); | padding: var(--padding-xs); | ||||
z-index: 1; | z-index: 1; | ||||
min-width: 250px; | |||||
&> li { | &> li { | ||||
cursor: pointer; | cursor: pointer; | ||||
@@ -44,6 +45,8 @@ | |||||
} | } | ||||
p { | p { | ||||
margin-bottom: 0; | margin-bottom: 0; | ||||
overflow-y: clip; | |||||
text-overflow: ellipsis; | |||||
} | } | ||||
} | } | ||||