UX: Removing width: auto; in mobile autocomplete so long strings truncate
This commit is contained in:
parent
1208254961
commit
92c5bc6ac9
|
@ -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(); }
|
||||||
|
|
Loading…
Reference in New Issue