From 0bf0849eb372c8c8d2fe9857746359b1b6c9ea9b Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 5 Nov 2013 15:52:20 -0800 Subject: [PATCH] Fix background pane tooltips --- css/app.css | 2 +- js/id/ui/background.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/app.css b/css/app.css index f561a9d34..5c7d7de80 100644 --- a/css/app.css +++ b/css/app.css @@ -2693,7 +2693,7 @@ img.wiki-image { border-bottom-color: #000; } -.map-overlay .tooltip.left .tooltip-arrow +.map-overlay .tooltip.left .tooltip-arrow, .entity-editor-pane .tooltip.left .tooltip-arrow { border-left-color: #000; } diff --git a/js/id/ui/background.js b/js/id/ui/background.js index 9bc6d813b..c80c3f1ff 100644 --- a/js/id/ui/background.js +++ b/js/id/ui/background.js @@ -209,7 +209,7 @@ iD.ui.Background = function(context) { .on('click.set-opacity', setOpacity) .html('
') .call(bootstrap.tooltip() - .placement('top')) + .placement('left')) .append('div') .attr('class', 'opacity') .style('opacity', String); @@ -272,7 +272,7 @@ iD.ui.Background = function(context) { label = gpxLayerItem.append('label') .call(bootstrap.tooltip() .title(t('gpx.drag_drop')) - .placement('left')); + .placement('top')); label.append('input') .attr('type', 'checkbox')