mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Fix select vertical issue inside input addon
This commit is contained in:
parent
7dafa985c5
commit
9f78e71c65
@ -222,10 +222,19 @@ form {
|
||||
.@{ant-prefix}-select,
|
||||
.@{ant-prefix}-cascader-picker {
|
||||
width: 100%;
|
||||
// Fix https://github.com/ant-design/ant-design/issues/6097
|
||||
&:only-child {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
// Don't impact select inside input group addon
|
||||
.@{ant-prefix}-input-group-addon .@{ant-prefix}-select,
|
||||
.@{ant-prefix}-input-group-addon .@{ant-prefix}-cascader-picker {
|
||||
&:only-child {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Input combined with select
|
||||
|
Loading…
Reference in New Issue
Block a user