+ fix autocomplete width (fix #2324)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
.avatardiv,
.avatardiv img {
border-radius: 50%;
+ flex-shrink: 0;
}
td.avatar {
border-radius: 0;
--- /dev/null
+// Various jquery fixes
+
+// Set autocomplete width the same as the related input
+// See http://stackoverflow.com/a/11845718
+jQuery.ui.autocomplete.prototype._resizeMenu = function () {
+ var ul = this.menu.element;
+ ul.outerWidth(this.element.outerWidth());
+}
OC_Util::addScript("js", null, true);
OC_Util::addScript("oc-dialogs", null, true);
OC_Util::addScript("jquery.ocdialog", null, true);
+ OC_Util::addScript("jquery-ui-fixes");
OC_Util::addStyle("jquery.ocdialog");
OC_Util::addScript('files/fileinfo');
OC_Util::addScript('files/client');