fix(form-item): too long content affects formItem width (#1269)

* fix: Too long content affects formItem  width

* fix: 修改更新日志

* fix: update log

Co-authored-by: zhouzhengshun@huatu.com <zhouzhengshun@huatu.com>
This commit is contained in:
shuaibishun 2021-10-02 00:14:10 +08:00 committed by GitHub
parent 734e5b8489
commit b6ebd7614f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
- `n-breadcrumb-item` add `href` prop.
### Fixes
- Fix `n-form-item`'s content is too long and the width is incorrect
- Fix `n-layout-sider`'s `arrow-circle`'s icon style.
- Fix `n-upload`'s `show-preview-button` prop not workingcloses [#1238](https://github.com/TuSimple/naive-ui/issues/1238).

View File

@ -3,7 +3,7 @@
## Pending
### Fixes
- 修复 `n-form-item` 中组件内容过长影响 `n-form-item` 宽度
- 修复 `n-layout-sider``arrow-circle` 的 icon 样式
- 修复 `n-upload``show-preview-button` 属性失效,关闭 [#1238](https://github.com/TuSimple/naive-ui/issues/1238)

View File

@ -47,7 +47,7 @@ export default cB('form-item', {
grid-template-areas:
"label blank"
"label feedback";
grid-template-columns: auto 1fr;
grid-template-columns: auto minmax(0, 1fr);
`, [
cB('form-item-label', `
height: var(--blank-height);