halo-admin/packages/components
Ryan Wang 2350f541d7
perf: set maximum width for entity-field to prevent text overflow (#700)
#### What type of PR is this?

/kind improvement
/milestone 2.0

#### What this PR does / why we need it:

为 `VEntityField` 组件设置最大宽度,防止内容过多导致 UI 异常。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2468

#### Screenshots:

<img width="534" alt="image" src="https://user-images.githubusercontent.com/21301288/203077107-55cbb951-5ea4-4699-8368-023c60ae9054.png">

#### Special notes for your reviewer:

/cc @halo-dev/sig-halo-console 

测试方式:

1. Console 需要 `pnpm build:packages`
2. 新增任意资源,设置超长的内容,检查列表的样式是否异常。

#### Does this PR introduce a user-facing change?

```release-note
为 `VEntityField` 组件设置最大宽度,防止内容过多导致 UI 异常。
```
2022-11-23 04:57:31 +00:00
..
src perf: set maximum width for entity-field to prevent text overflow (#700) 2022-11-23 04:57:31 +00:00
.eslintrc.cjs chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
env.d.ts chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
histoire.config.ts chore: bump histoire version 2022-08-14 11:59:35 +08:00
package.json chore: release 2.0.0-beta.2 (#697) 2022-11-18 13:36:23 +00:00
postcss.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
prettier.config.js chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tailwind.config.js refactor: admin ui theme system 2022-07-14 11:38:13 +08:00
tsconfig.app.json feat: refine the configuration of unplugin-icons 2022-07-03 16:50:25 +08:00
tsconfig.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vite-config.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
tsconfig.vitest.json chore: use pnpm's workspace feature to manage base components (#579) 2022-06-14 15:56:55 +08:00
vite.config.ts perf: refine user detail page 2022-09-27 16:47:13 +08:00