datastake-daf 0.6.268 → 0.6.270

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19309,7 +19309,7 @@ const Style$A = dt.div`
19309
19309
  flex-direction: row;
19310
19310
  position: relative;
19311
19311
  width: 100%;
19312
- height: 472px;
19312
+ height: 100%;
19313
19313
 
19314
19314
  .filter-cont {
19315
19315
  position: absolute;
@@ -20977,6 +20977,8 @@ const SimpleGlobe = _ref => {
20977
20977
  el.style.display = 'flex';
20978
20978
  el.style.alignItems = 'center';
20979
20979
  el.style.justifyContent = 'center';
20980
+ el.style.position = 'absolute';
20981
+ el.style.transform = 'translate(-50%, -50%)';
20980
20982
  if (type === "location") {
20981
20983
  // Location marker - SVG map pin style
20982
20984
  el.style.width = '28px';
@@ -21055,13 +21057,22 @@ const SimpleGlobe = _ref => {
21055
21057
  }
21056
21058
  };
21057
21059
  }, [projects, onProjectClick, mapConfig]);
21058
- return /*#__PURE__*/jsxRuntime.jsx(Style$A, {
21059
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
21060
- ref: mapContainer,
21061
- style: {
21062
- width: '100%',
21063
- height: '100%'
21064
- }
21060
+ return /*#__PURE__*/jsxRuntime.jsx("div", {
21061
+ style: {
21062
+ width: '100%',
21063
+ height: '100%',
21064
+ position: 'relative'
21065
+ },
21066
+ children: /*#__PURE__*/jsxRuntime.jsx(Style$A, {
21067
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
21068
+ ref: mapContainer,
21069
+ style: {
21070
+ width: '100%',
21071
+ height: '100%',
21072
+ position: 'relative',
21073
+ overflow: 'hidden'
21074
+ }
21075
+ })
21065
21076
  })
21066
21077
  });
21067
21078
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.268",
3
+ "version": "0.6.270",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -110,6 +110,8 @@ const SimpleGlobe = ({
110
110
  el.style.display = 'flex';
111
111
  el.style.alignItems = 'center';
112
112
  el.style.justifyContent = 'center';
113
+ el.style.position = 'absolute';
114
+ el.style.transform = 'translate(-50%, -50%)';
113
115
 
114
116
  if (type === "location") {
115
117
  // Location marker - SVG map pin style
@@ -234,9 +236,19 @@ const SimpleGlobe = ({
234
236
  }, [projects, onProjectClick, mapConfig]);
235
237
 
236
238
  return (
237
- <Style>
238
- <div ref={mapContainer} style={{ width: '100%', height: '100%' }} />
239
- </Style>
239
+ <div style={{ width: '100%', height: '100%', position: 'relative' }}>
240
+ <Style>
241
+ <div
242
+ ref={mapContainer}
243
+ style={{
244
+ width: '100%',
245
+ height: '100%',
246
+ position: 'relative',
247
+ overflow: 'hidden'
248
+ }}
249
+ />
250
+ </Style>
251
+ </div>
240
252
  );
241
253
  };
242
254
 
@@ -5,7 +5,7 @@ const Style = styled.div`
5
5
  flex-direction: row;
6
6
  position: relative;
7
7
  width: 100%;
8
- height: 472px;
8
+ height: 100%;
9
9
 
10
10
  .filter-cont {
11
11
  position: absolute;