@fonixtree/magic-design 1.0.209 → 1.0.210

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.
@@ -217,9 +217,6 @@ function (_super) {
217
217
  text: _price
218
218
  }),
219
219
  readonly: true
220
- }), priceLabels.length > 0 && !hideLabels && /*#__PURE__*/_react["default"].createElement(_ImageLabel["default"], {
221
- labels: priceLabels,
222
- small: true
223
220
  })), panelProps.salesPrice.open && oldPrice && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
224
221
  className: "old-price",
225
222
  data: __assign(__assign({}, panelProps.salesPrice), {
@@ -229,7 +226,10 @@ function (_super) {
229
226
  style: {
230
227
  color: panelProps.salesPrice.content.color
231
228
  }
232
- })), ((_d = panelProps.salesProgressVisible) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
229
+ }), /*#__PURE__*/_react["default"].createElement("div", null, priceLabels.length > 0 && !hideLabels && /*#__PURE__*/_react["default"].createElement(_ImageLabel["default"], {
230
+ labels: priceLabels,
231
+ small: true
232
+ }))), ((_d = panelProps.salesProgressVisible) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
233
233
  className: "rate-sold-wrap"
234
234
  }, /*#__PURE__*/_react["default"].createElement("div", {
235
235
  className: "rate-wrap"
@@ -33,6 +33,12 @@
33
33
  line-height: 24px;
34
34
  height: 48px;
35
35
  white-space: wrap;
36
+
37
+ @media (min-width: 768px) {
38
+ .image-label-wrap {
39
+ margin-top: 6px;
40
+ }
41
+ }
36
42
  }
37
43
 
38
44
  .price-wrap {
@@ -61,6 +67,13 @@
61
67
  width: fit-content;
62
68
  }
63
69
 
70
+ @media (min-width: 768px) {
71
+ .image-label-wrap {
72
+ margin-left: 6px;
73
+ margin-bottom: -3px;
74
+ }
75
+ }
76
+
64
77
  }
65
78
 
66
79
  .rate-sold-wrap {
@@ -217,9 +217,6 @@ function (_super) {
217
217
  text: _price
218
218
  }),
219
219
  readonly: true
220
- }), priceLabels.length > 0 && !hideLabels && /*#__PURE__*/_react["default"].createElement(_ImageLabel["default"], {
221
- labels: priceLabels,
222
- small: true
223
220
  })), panelProps.salesPrice.open && oldPrice && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
224
221
  className: "old-price",
225
222
  data: __assign(__assign({}, panelProps.salesPrice), {
@@ -229,7 +226,10 @@ function (_super) {
229
226
  style: {
230
227
  color: panelProps.salesPrice.content.color
231
228
  }
232
- })), ((_d = panelProps.salesProgressVisible) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
229
+ }), /*#__PURE__*/_react["default"].createElement("div", null, priceLabels.length > 0 && !hideLabels && /*#__PURE__*/_react["default"].createElement(_ImageLabel["default"], {
230
+ labels: priceLabels,
231
+ small: true
232
+ }))), ((_d = panelProps.salesProgressVisible) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
233
233
  className: "rate-sold-wrap"
234
234
  }, /*#__PURE__*/_react["default"].createElement("div", {
235
235
  className: "rate-wrap"
@@ -33,6 +33,12 @@
33
33
  line-height: 24px;
34
34
  height: 48px;
35
35
  white-space: wrap;
36
+
37
+ @media (min-width: 768px) {
38
+ .image-label-wrap {
39
+ margin-top: 6px;
40
+ }
41
+ }
36
42
  }
37
43
 
38
44
  .price-wrap {
@@ -61,6 +67,13 @@
61
67
  width: fit-content;
62
68
  }
63
69
 
70
+ @media (min-width: 768px) {
71
+ .image-label-wrap {
72
+ margin-left: 6px;
73
+ margin-bottom: -3px;
74
+ }
75
+ }
76
+
64
77
  }
65
78
 
66
79
  .rate-sold-wrap {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.209",
4
+ "version": "1.0.210",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",