rj-grid 0.2.6 → 0.2.7

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.
package/dist/rj-grid.js CHANGED
@@ -7180,7 +7180,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
7180
7180
  }, toDisplayString(_ctx.detailOpen ? unref(icons).collapse : unref(icons).expand), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$c)),
7181
7181
  imgUrls.value.length ? (openBlock(), createBlock(_sfc_main$g, mergeProps({ key: 3 }, imgBind.value, { onPreview: onImgPreview }), null, 16)) : cellSlot.value || cellRendererFn.value ? (openBlock(), createElementBlock("span", {
7182
7182
  key: 4,
7183
- class: normalizeClass(["rj-cell-inner", { wrap: _ctx.leaf.col.wrapText }])
7183
+ class: normalizeClass(["rj-cell-inner rj-cell-custom", { wrap: _ctx.leaf.col.wrapText }])
7184
7184
  }, [
7185
7185
  ((_b = _ctx.gridSlots) == null ? void 0 : _b[cellSlot.value]) ? (openBlock(), createBlock(unref(RjSlotRender), {
7186
7186
  key: 0,
@@ -7199,7 +7199,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
7199
7199
  }, null, 10, _hoisted_6$c))
7200
7200
  ], 64)) : imgUrls.value.length ? (openBlock(), createBlock(_sfc_main$g, mergeProps({ key: 5 }, imgBind.value, { onPreview: onImgPreview }), null, 16)) : cellSlot.value || cellRendererFn.value ? (openBlock(), createElementBlock("span", {
7201
7201
  key: 6,
7202
- class: normalizeClass(["rj-cell-inner", { wrap: _ctx.leaf.col.wrapText }])
7202
+ class: normalizeClass(["rj-cell-inner rj-cell-custom", { wrap: _ctx.leaf.col.wrapText }])
7203
7203
  }, [
7204
7204
  ((_c = _ctx.gridSlots) == null ? void 0 : _c[cellSlot.value]) ? (openBlock(), createBlock(unref(RjSlotRender), {
7205
7205
  key: 0,
package/dist/style.css CHANGED
@@ -985,6 +985,9 @@
985
985
  white-space: normal;
986
986
  word-break: break-all;
987
987
  }
988
+ .rj-cell .rj-cell-inner.rj-cell-custom {
989
+ line-height: normal;
990
+ }
988
991
  .rj-cell.is-editing {
989
992
  padding: 0;
990
993
  overflow: visible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rj-grid",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "零第三方依赖的自研 Vue3 虚拟表格:虚拟滚动 / 冻结列 / 行拖拽 / 分组透视 / 公式 / SSRM / 主题 i18n / 自然语言查询",
5
5
  "type": "module",
6
6
  "license": "MIT",