aldehyde 0.2.460 → 0.2.461

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.
@@ -143,7 +143,7 @@ const Index = (props) => {
143
143
  React.createElement("div", { className: 'card-title' }, title || "-"),
144
144
  React.createElement("div", { className: 'card-detail' },
145
145
  React.createElement(Row, { gutter: [16, 16] }, listData === null || listData === void 0 ? void 0 : listData.map((item, index) => React.createElement(Col, { className: "card-detail-item", span: 24, key: index },
146
- React.createElement("div", { className: 'card-detail-item', style: item.refPageId && item.refPageTitle ? { width: "70%", whiteSpace: "nowrap" } : { width: "100%" } },
146
+ React.createElement("div", { className: 'card-detail-item', style: item.refPageId && item.refPageTitle ? { width: "60%", whiteSpace: "nowrap" } : { width: "100%" } },
147
147
  React.createElement("div", { className: "card-detail-item-title" },
148
148
  item.title,
149
149
  "\uFF1A"),
@@ -68,7 +68,7 @@
68
68
 
69
69
  .refPage {
70
70
  white-space: nowrap;
71
- width: 30%;
71
+ width: 40%;
72
72
  overflow: hidden;
73
73
  text-overflow: ellipsis;
74
74
  cursor: pointer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aldehyde",
3
- "version": "0.2.460",
3
+ "version": "0.2.461",
4
4
  "author": "cosmicparticle",
5
5
  "main": "lib/index.js",
6
6
  "module": "src/aldehyde/index.txs",
@@ -176,7 +176,7 @@ const Index = (props: Props) => {
176
176
  <Row gutter={[16, 16]}>
177
177
  {listData?.map((item, index) =>
178
178
  <Col className="card-detail-item" span={24} key={index}>
179
- <div className='card-detail-item' style={item.refPageId && item.refPageTitle ? { width: "70%", whiteSpace: "nowrap" } : { width: "100%" }}>
179
+ <div className='card-detail-item' style={item.refPageId && item.refPageTitle ? { width: "60%", whiteSpace: "nowrap" } : { width: "100%" }}>
180
180
  <div className="card-detail-item-title">{item.title}:</div>
181
181
  <div className="card-detail-item-value">{item.value || item.value === 0 ? item.value : "-"}</div>
182
182
  {item.unit ? <div className='card-detail-item-unit'>{item.unit}</div> : ""}
@@ -68,7 +68,7 @@
68
68
 
69
69
  .refPage {
70
70
  white-space: nowrap;
71
- width: 30%;
71
+ width: 40%;
72
72
  overflow: hidden;
73
73
  text-overflow: ellipsis;
74
74
  cursor: pointer;