Browse Source

Merge pull request #13409 from surajshetty3416/fix-dropdown-content

version-14
Suraj Shetty 4 years ago
committed by GitHub
parent
commit
4feb1c3bf5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/controls/link.js
  2. +2
    -0
      frappe/public/scss/common/awesomeplete.scss

+ 1
- 1
frappe/public/js/frappe/form/controls/link.js 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() {


+ 2
- 0
frappe/public/scss/common/awesomeplete.scss View File

@@ -45,6 +45,8 @@
}
p {
margin-bottom: 0;
overflow-y: clip;
text-overflow: ellipsis;
}
}



Loading…
Cancel
Save