Skip to content

Commit

Permalink
fix: form col style
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Oct 30, 2020
1 parent 2407b33 commit 840332a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- 添加部分注释
- pwa 图标补充
- types 类型调整
- 升级`ant-design-vue``beta.11`,并修改带来的已知问题
- 升级`ant-design-vue``beta.11`,并修改带来的已知问题,部分问题发现后在解决

### 🐛 Bug Fixes

Expand Down
4 changes: 2 additions & 2 deletions src/components/Form/src/hooks/useLabelWidth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<
width = isNumber(width) ? `${width}px` : width;
}
return {
labelCol: { style: { width }, span: 1, ...labelCol },
wrapperCol: { style: { width: `calc(100% - ${width})` }, span: 23, ...wrapperCol },
labelCol: { style: { width }, ...labelCol },
wrapperCol: { style: { width: `calc(100% - ${width})` }, ...wrapperCol },
};
});
}

0 comments on commit 840332a

Please sign in to comment.