From 4dd33bbee5c806c65a6e456c7d382f5636f12edd Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Wed, 19 Dec 2012 16:42:19 -0500 Subject: [PATCH] minor style tweaks, plus fix for #286 --- css/app.css | 4 ++++ js/id/id.js | 10 ++++++---- js/id/ui/inspector.js | 7 +++++++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/css/app.css b/css/app.css index aadbb8154..1c5b5682e 100644 --- a/css/app.css +++ b/css/app.css @@ -906,6 +906,10 @@ div.typeahead a:first-child { border-width: 0 5px 5px; } +.Browse .tooltip .tooltip-arrow { + left: 30px; + } + /* Mobile Tweaks ------------------------------------------------------- */ * { diff --git a/js/id/id.js b/js/id/id.js index 9dfac9223..f7d8ad685 100644 --- a/js/id/id.js +++ b/js/id/id.js @@ -174,11 +174,13 @@ window.iD = function(container) { "
  • report a bug
  • " + "
  • imagery provided by bing
  • "); - about.append('div') + var contributors = about.append('div') .attr('id', 'user-list') - .attr('class','about-block fillD pad1') - .append('span') - .text('Viewing contributions by '); + .attr('class','about-block fillD pad1'); + contributors.append('span') + .attr('class', 'icon nearby icon-pre-text'); + contributors.append('pan') + .text('Viewing contributions by '); history.on('change.buttons', function() { var undo = history.undoAnnotation(), diff --git a/js/id/ui/inspector.js b/js/id/ui/inspector.js index 3ed664094..cd5bc94b1 100644 --- a/js/id/ui/inspector.js +++ b/js/id/ui/inspector.js @@ -160,6 +160,13 @@ iD.Inspector = function() { .on('click', function(entity) { event.remove(entity); }); } + selection.html("").append('button') + .attr('class', 'narrow close') + .html("") + .on('click', function() { + event.close(entity); + }); + selection.append('div') .attr('class', 'head inspector-inner') .call(drawhead);