Skip to content

Commit 8ab8956

Browse files
authoredAug 14, 2022
fix(form): fix width style (#1504)
1 parent 3c03e9f commit 8ab8956

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎packages/form/src/style/_issues.less

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// TODO: 由于 https://github.com/ant-design/ant-design/pull/34694 的重构,导致需要 NG-ZORRO 需要额外进行支持
2+
// 暂时按以下进行解决以此修复 https://github.com/ng-alain/ng-alain/issues/2275 的问题
3+
@{sf-prefix} {
4+
&__item {
5+
.@{ant-prefix}-select,
6+
.@{ant-prefix}-cascader-picker {
7+
width: 100%;
8+
}
9+
}
10+
}

‎packages/form/src/style/index.less

+2
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,5 @@
245245
}
246246
}
247247
}
248+
249+
@import './_issues.less';

0 commit comments

Comments
 (0)
Please sign in to comment.