From faa969206c4afc5bd043da3f22c1dfd6a69b29ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Mon, 6 Jan 2020 14:25:59 +0800 Subject: [PATCH] :bug: Fix Input.Group align in Form.Item (#20681) https://codesandbox.io/s/antd-reproduction-template-3x2kv --- components/form/style/components.less | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/form/style/components.less b/components/form/style/components.less index d388b0151f..59a2f53fc3 100644 --- a/components/form/style/components.less +++ b/components/form/style/components.less @@ -67,13 +67,4 @@ .@{ant-prefix}-input-group .@{ant-prefix}-cascader-picker { width: auto; } - - // fix input with addon position. https://github.com/ant-design/ant-design/issues/8243 - :not(.@{ant-prefix}-input-group-wrapper) > .@{ant-prefix}-input-group, - .@{ant-prefix}-input-group-wrapper { - position: relative; - top: -1px; - display: inline-block; - vertical-align: middle; - } }