Browse Source

fix: allow mini header cells to wrap text and expand vertically

- Remove ellipsis/truncate from mini-header-content
- Allow text wrapping with word-break: break-word
- Allow header cells to expand vertically with align-self: stretch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dev
hechang27-sprt 3 months ago
parent
commit
e72f42af95
  1. 11
      packages/base/data/list-table-v2.vue
  2. 2
      packages/manage/router/index.vue

11
packages/base/data/list-table-v2.vue

@ -534,8 +534,15 @@ const getMiniCellStyle = (item: TableColumn): Record<string, string> => { @@ -534,8 +534,15 @@ const getMiniCellStyle = (item: TableColumn): Record<string, string> => {
}
.mini-header-content {
overflow: hidden;
text-overflow: ellipsis;
overflow: visible;
text-overflow: clip;
white-space: normal;
word-break: break-word;
}
.mini-header-cell {
overflow: visible;
align-self: stretch;
}
.mini-cell {

2
packages/manage/router/index.vue

@ -37,7 +37,7 @@ import { useRouter, useRoute } from "vue-router"; @@ -37,7 +37,7 @@ import { useRouter, useRoute } from "vue-router";
import { Api, NoobHead } from "noob-mengyxu";
import md5 from "js-md5";
const DEV_MODE_TS = "2026-03-26T08:16:00.000Z";
const DEV_MODE_TS = "2026-03-26T08:35:00.000Z";
const { VITE_APP_VERSION, VITE_GIT_HASH, NODE_ENV } = import.meta.env;
const { Head, MenuTree, HeadPersonal, Fullscreen, StyleChange, LangChange, SizeChange } = NoobHead;

Loading…
Cancel
Save