Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix tooltip z-index #2538

Benjamin King4faf7f3855f6
diff --git a/web/css/palettes.css b/web/css/palettes.css
index 5bba30f13..caa57be29 100644
--- a/web/css/palettes.css
+++ b/web/css/palettes.css
@@ -205,11 +205,10 @@
.wv-palettes-class:hover {
cursor: crosshair;
}
-/* Bootstrap overrides */
-.wv-palettes-class .tooltip {
+
+.wv-palette-tooltip .tooltip {
z-index: 1040;
}
-/* ********* end ********** */
.wv-palettes-class-detail {
margin: 2px 5px 4px 0;
diff --git a/web/js/components/sidebar/paletteLegend.js b/web/js/components/sidebar/paletteLegend.js
index f5309b957..894cc9e03 100644
--- a/web/js/components/sidebar/paletteLegend.js
+++ b/web/js/components/sidebar/paletteLegend.js
@@ -373,6 +373,7 @@ class PaletteLegend extends React.Component {
<Tooltip
placement={singleKey ? 'right' : 'bottom'}
isOpen={isActiveKey}
+ className='wv-palette-tooltip'
target={keyId}>
{tooltipText}
</Tooltip>