@fileverse-dev/fortune-react 1.0.77 → 1.0.79

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.
@@ -81,16 +81,17 @@ var SheetTab = function SheetTab() {
81
81
  className: "w-full",
82
82
  id: "denomination-warning",
83
83
  style: {
84
- position: "fixed",
84
+ zIndex: 1003,
85
+ position: "absolute",
85
86
  display: "none",
87
+ bottom: "31px",
86
88
  backgroundColor: "#F8F9FA",
87
89
  borderBottom: "1px solid #E8EBEC",
88
90
  color: "#77818A",
89
91
  fontFamily: "Helvetica Neue",
90
92
  fontSize: "var(--font-size-2xsm, 12px)",
91
93
  fontStyle: "normal",
92
- fontWeight: "400",
93
- bottom: "31px"
94
+ fontWeight: "400"
94
95
  }
95
96
  }, /*#__PURE__*/React.createElement("div", {
96
97
  className: "max-w-7xl mx-auto px-4 py-1 ".concat(isMobile && "w-full flex justify-between")
@@ -347,14 +347,13 @@ var Workbook = /*#__PURE__*/React.forwardRef(function (_a, ref) {
347
347
  denoWarn.style.display = "block";
348
348
  denoWarn.style.left = "0px";
349
349
  if (scrollBar) {
350
- scrollBar.style.bottom = "40px !important";
351
- scrollBar.style.backgroundColor = "red !important";
350
+ scrollBar.setAttribute("style", "bottom: 36px !important; width: calc(100% - 60px);");
352
351
  }
353
352
  } else if (!denominatedUsed && denoWarn) {
354
353
  denoWarn.style.display = "none";
355
354
  denoWarn.style.left = "-9999px";
356
355
  if (scrollBar) {
357
- scrollBar.style.bottom = "12px !important";
356
+ scrollBar.setAttribute("style", "bottom: 10px !important; width: calc(100% - 60px);");
358
357
  }
359
358
  }
360
359
  return ctx;
@@ -90,16 +90,17 @@ var SheetTab = function SheetTab() {
90
90
  className: "w-full",
91
91
  id: "denomination-warning",
92
92
  style: {
93
- position: "fixed",
93
+ zIndex: 1003,
94
+ position: "absolute",
94
95
  display: "none",
96
+ bottom: "31px",
95
97
  backgroundColor: "#F8F9FA",
96
98
  borderBottom: "1px solid #E8EBEC",
97
99
  color: "#77818A",
98
100
  fontFamily: "Helvetica Neue",
99
101
  fontSize: "var(--font-size-2xsm, 12px)",
100
102
  fontStyle: "normal",
101
- fontWeight: "400",
102
- bottom: "31px"
103
+ fontWeight: "400"
103
104
  }
104
105
  }, /*#__PURE__*/_react.default.createElement("div", {
105
106
  className: "max-w-7xl mx-auto px-4 py-1 ".concat(isMobile && "w-full flex justify-between")
@@ -356,14 +356,13 @@ var Workbook = /*#__PURE__*/_react.default.forwardRef(function (_a, ref) {
356
356
  denoWarn.style.display = "block";
357
357
  denoWarn.style.left = "0px";
358
358
  if (scrollBar) {
359
- scrollBar.style.bottom = "40px !important";
360
- scrollBar.style.backgroundColor = "red !important";
359
+ scrollBar.setAttribute("style", "bottom: 36px !important; width: calc(100% - 60px);");
361
360
  }
362
361
  } else if (!denominatedUsed && denoWarn) {
363
362
  denoWarn.style.display = "none";
364
363
  denoWarn.style.left = "-9999px";
365
364
  if (scrollBar) {
366
- scrollBar.style.bottom = "12px !important";
365
+ scrollBar.setAttribute("style", "bottom: 10px !important; width: calc(100% - 60px);");
367
366
  }
368
367
  }
369
368
  return ctx;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.0.77",
19
+ "@fileverse-dev/fortune-core": "1.0.79",
20
20
  "@fileverse/ui": "^4.1.7-patch-20",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",