Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[fix] CSS fixes to avoid conflicts with Jupyter styling when embedded without iframe (#2095)
Igor Dykhta409db23e9b59
diff --git a/src/components/src/map/layer-hover-info.tsx b/src/components/src/map/layer-hover-info.tsxindex 69f4ed244..a04b1d0f8 100644--- a/src/components/src/map/layer-hover-info.tsx+++ b/src/components/src/map/layer-hover-info.tsx@@ -74,7 +74,7 @@ const Row: React.FC<RowProps> = ({name, value, deltaValue, url}) => {const asImg = /<img>/.test(name);return (- <tr className="row" key={name}>+ <tr className="layer-hover-info__row" key={name}><td className="row__name">{name}</td><td className="row__value">{asImg ? (diff --git a/test/browser-headless/component/map-container-test.js b/test/browser-headless/component/map-container-test.jsindex ad385981e..0053fc6e2 100644--- a/test/browser-headless/component/map-container-test.js+++ b/test/browser-headless/component/map-container-test.js@@ -215,7 +215,7 @@ test('MapContainerFactory - _renderDeckOverlay', t => {t.equal(wrapper.find('table').length, 1, 'should render 1 table');const table = wrapper.find('table').at(0);- const rows = table.find('.row');+ const rows = table.find('.layer-hover-info__row');t.equal(rows.length, 5, 'should render 5 rows');const tippyProps = wrapper.find(Tippy)