From 92c5bc6ac924bfe4788f4ce7e6efee8501cf3e60 Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 16 Jan 2018 17:09:07 -0500 Subject: [PATCH] UX: Removing width: auto; in mobile autocomplete so long strings truncate --- app/assets/javascripts/discourse/lib/autocomplete.js.es6 | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/autocomplete.js.es6 b/app/assets/javascripts/discourse/lib/autocomplete.js.es6 index 15cb6d5d937..cf0a9a01d6f 100644 --- a/app/assets/javascripts/discourse/lib/autocomplete.js.es6 +++ b/app/assets/javascripts/discourse/lib/autocomplete.js.es6 @@ -276,7 +276,6 @@ export default function(options) { } if (Discourse.Site.currentProp('mobileView')) { - div.css('width', 'auto'); if ((me.height() / 2) >= pos.top) { vOffset = -23; } if ((me.width() / 2) <= pos.left) { hOffset = -div.width(); }