@easyv/charts 1.4.1 → 1.4.2

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.
@@ -821,6 +821,7 @@ var Current = function Current(_ref9) {
821
821
  })
822
822
  }, value, showSuffix && text && /*#__PURE__*/_react["default"].createElement("span", {
823
823
  style: {
824
+ display: "inline-block",
824
825
  transform: 'translate(' + translateSuffixX + 'px,' + translateSuffixY + 'px)',
825
826
  fontSize: fontSize
826
827
  }
@@ -43,7 +43,7 @@ var _default = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef
43
43
  return {
44
44
  wordBreak: 'break-all',
45
45
  wordWrap: 'break-word',
46
- whiteSpace: "normal"
46
+ whiteSpace: "pre-line"
47
47
  };
48
48
 
49
49
  case 'marquee':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -852,6 +852,7 @@ const Current = ({
852
852
  {showSuffix && text && (
853
853
  <span
854
854
  style={{
855
+ display:"inline-block",
855
856
  transform:
856
857
  'translate(' +
857
858
  translateSuffixX +
@@ -32,7 +32,7 @@ export default memo(forwardRef((props:flowText, ref:any) => {
32
32
  return {
33
33
  wordBreak: 'break-all',
34
34
  wordWrap: 'break-word',
35
- whiteSpace: "normal"
35
+ whiteSpace: "pre-line"
36
36
  };
37
37
  case 'marquee':
38
38
  return {