Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/#1376 #1377

Merged
merged 3 commits into from
Nov 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
- 修复 `SelectTree` 下拉选择上滑动显示异常 [#1351](https://github.com/XiaoMi/hiui/issues/1351)
- 修复 `Form` Form.List 和 Form.Item 同一级混用显示异常问题 [#1343](https://github.com/XiaoMi/hiui/issues/1343)
- 修复 `DatePicker` weekOffset 为 1 时 周与日对照显示异常 [#1352](https://github.com/XiaoMi/hiui/issues/1352)
- 修复 `Input` type等于amount时,数据初始化展示问题以及添加前后置节点聚焦问题 [#1362](https://github.com/XiaoMi/hiui/pull/1362)
- 修复 `Input` type 等于 amount 时,数据初始化展示问题以及添加前后置节点聚焦问题 [#1362](https://github.com/XiaoMi/hiui/pull/1362)
- 修复 `Select` 异步多选下拉数据显示问题 [#1364](https://github.com/XiaoMi/hiui/issues/1364)
- 优化 `Select` 弹层触发方式 [#1358](https://github.com/XiaoMi/hiui/issues/1358)
- 优化 `Search` 后置元素应该收起下来选项 [#1341](https://github.com/XiaoMi/hiui/issues/1341)
- 优化 `From` 组件 label 内容显示折行行高以及间距 [#1341](https://github.com/XiaoMi/hiui/issues/1341)
- 新增 HiUI 基础样式 css 文件 [#1388](https://github.com/XiaoMi/hiui/issues/1388)

## 3.1.0
Expand Down
7 changes: 5 additions & 2 deletions components/form/form-legacy/form-v2/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
display: flex;
font-size: $font-size-normal;
margin-right: $spacer-2;
margin-bottom: 24px;

&__label,
&__span {
Expand All @@ -81,9 +82,10 @@
}

&__label {
min-height: 32px;
margin-top: 5px;
min-height: 22px;
padding-right: $spacer-2;
line-height: 32px;
line-height: 22px;
}

&__content {
Expand All @@ -107,6 +109,7 @@
}

&--msg__error {
position: absolute;
font-size: $font-size-small;
min-height: 24px;
padding: 2px 0;
Expand Down
7 changes: 5 additions & 2 deletions components/form/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
display: flex;
font-size: $font-size-normal;
margin-right: $spacer-2;
margin-bottom: 24px;

&__label,
&__span {
Expand All @@ -86,9 +87,10 @@
}

&__label {
min-height: 32px;
margin-top: 5px;
min-height: 22px;
padding-right: $spacer-2;
line-height: 32px;
line-height: 22px;
}

&__content {
Expand Down Expand Up @@ -123,6 +125,7 @@
}

&--msg__error {
position: absolute;
font-size: $font-size-small;
min-height: 24px;
padding: 2px 0;
Expand Down