diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index 333c5f7e..2e0e40e5 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -67,10 +67,10 @@ window.renderPortalDetails = function(guid) { + '
'+getModDetails(d)+'
' + randDetails + resoDetails - + '
' - + '' - + '' - + '' + + '
' + + '' + + '' + + '' + '
' ); diff --git a/code/utils_misc.js b/code/utils_misc.js index 16aceeb7..84562c92 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -136,8 +136,8 @@ window.showPortalPosLinks = function(lat, lng, name) { } else { var qrcode = '
'; var script = ''; - var gmaps = 'gmaps'; - var osm = 'OSM'; + var gmaps = 'Google maps'; + var osm = 'OpenStreetMap'; var latLng = ''+lat+','+lng +''; alert('
' + qrcode + script + gmaps + ' ' + osm + '
' + latLng + '
'); } diff --git a/plugins/ipas-link.user.js b/plugins/ipas-link.user.js index 87395a10..2d4590c4 100644 --- a/plugins/ipas-link.user.js +++ b/plugins/ipas-link.user.js @@ -27,7 +27,7 @@ window.plugin.ipasLink.setupCallback = function() { } window.plugin.ipasLink.addLink = function(d) { - $('.linkdetails').append(''); + $('.linkdetails').append(''); } window.plugin.ipasLink.getHash = function(d) { diff --git a/style.css b/style.css index d9feb73a..f11c1003 100644 --- a/style.css +++ b/style.css @@ -602,42 +602,23 @@ h3 { margin-left: -6px; text-shadow: 0.0em 0.0em 0.3em #808080; } + /* links below resos */ .linkdetails { margin-bottom: 0px; -} - -aside { - display: inline-block; - padding-right: 9px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; text-align: center; } -.linkdetails aside a{ - font-size:12px; +.linkdetails aside { + display: inline-block; + white-space: nowrap; + font-size: 12px; + margin-left: 5px; + margin-right: 5px; } -.linkdetails aside:last-child { - padding-right: 0; -} -.linkdetails aside:nth-child(1) { - text-align: right; - width:88px; -} - -.linkdetails aside:nth-child(2) { - text-align: right; - width:67px; -} - -.linkdetails aside:nth-child(4) { - margin-left:13px; -} #toolbox { padding: 2px; @@ -653,7 +634,7 @@ aside { * content when first selecting a portal) */ #portaldetails { - min-height: 495px; + min-height: 485px; }