fix(form-item): autosize textarea may overflow (#94)

* fix: n-form-item's grid-template-columns

* Update src/form/src/styles/form-item.cssr.ts

Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
XieZongChen 2021-06-13 12:04:24 +08:00 committed by GitHub
parent 1d8deaffae
commit 3905fb1972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
### Fixes
- Fix `n-calendar`'s `on-update:value` prop type.
- Fix `n-form-item`'s style attribute `grid-template-columns` influence on the layout of child elements. [#93](https://github.com/TuSimple/naive-ui/pull/93)
## 2.11.7

View File

@ -5,6 +5,7 @@
### Fixes
- 修复 `n-calendar``on-update:value` 属性类型
- 修复 `n-form-item``grid-template-columns` 样式属性对子元素布局的影响 [#93](https://github.com/TuSimple/naive-ui/pull/93)
## 2.11.7

View File

@ -64,6 +64,7 @@ export default cB('form-item', {
"blank"
"feedback";
grid-template-rows: var(--label-height) 1fr;
grid-template-columns: minmax(0, 100%);
`, [
cM('no-label', `
grid-template-areas: