mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
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:
parent
1d8deaffae
commit
3905fb1972
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user