mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
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:
parent
734e5b8489
commit
b6ebd7614f
@ -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 working,closes [#1238](https://github.com/TuSimple/naive-ui/issues/1238).
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user