Skip to content

Commit

Permalink
Merge pull request #17583 from ant-design/fix-cascader-style
Browse files Browse the repository at this point in the history
fix: 馃拕 Optimize Cascader input style
  • Loading branch information
afc163 committed Jul 11, 2019
2 parents fb0b4f0 + 72f531d commit 756ded9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/cascader/style/index.less
Expand Up @@ -11,6 +11,8 @@
// Keep it static for https://github.com/ant-design/ant-design/issues/16738
position: static;
width: 100%;
// https://github.com/ant-design/ant-design/issues/17582
padding-right: 24px;
// Add important to fix https://github.com/ant-design/ant-design/issues/5078
// because input.less will compile after cascader.less
background-color: transparent !important;
Expand Down Expand Up @@ -60,7 +62,7 @@
width: 100%;
height: 20px;
margin-top: -10px;
padding: 0 @control-padding-horizontal;
padding: 0 20px 0 @control-padding-horizontal;
overflow: hidden;
line-height: 20px;
white-space: nowrap;
Expand Down

0 comments on commit 756ded9

Please sign in to comment.