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: "
|
|
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"),
|
package/package.json
CHANGED
|
@@ -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: "
|
|
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> : ""}
|