UX: Removing width: auto; in mobile autocomplete so long strings truncate

This commit is contained in:
Kris 2018-01-16 17:09:07 -05:00
parent 1208254961
commit 92c5bc6ac9
1 changed files with 0 additions and 1 deletions

View File

@ -276,7 +276,6 @@ export default function(options) {
} }
if (Discourse.Site.currentProp('mobileView')) { if (Discourse.Site.currentProp('mobileView')) {
div.css('width', 'auto');
if ((me.height() / 2) >= pos.top) { vOffset = -23; } if ((me.height() / 2) >= pos.top) { vOffset = -23; }
if ((me.width() / 2) <= pos.left) { hOffset = -div.width(); } if ((me.width() / 2) <= pos.left) { hOffset = -div.width(); }