diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index cdb81664..a46e4313 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -129,6 +129,9 @@ window.unselectOldPortal = function() { if(oldPortal) portalResetColor(oldPortal); selectedPortal = null; $('#portaldetails').html(''); - if(isSmartphone()) $('.fullimg').remove(); + if(isSmartphone()) { + $('.fullimg').remove(); + $('#mobileinfo').html(''); + } clearPortalIndicators(); } diff --git a/mobile/smartphone.css b/mobile/smartphone.css index 3b792050..0e88ed7c 100644 --- a/mobile/smartphone.css +++ b/mobile/smartphone.css @@ -20,7 +20,6 @@ body { #mobileinfo { float: left; - margin-right: 1em; max-width: 50%; text-overflow: ellipsis; white-space: nowrap;