update Cascader

This commit is contained in:
梁灏 2017-05-11 17:17:44 +08:00
parent 2fcd34da74
commit 3ae11e8576
2 changed files with 57 additions and 5 deletions

View file

@ -19,6 +19,29 @@
cursor: @cursor-disabled;
}
&-label{
width: 100%;
height: 100%;
line-height: 32px;
padding: 0 7px;
box-sizing: border-box;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
cursor: pointer;
font-size: @font-size-small;
position: absolute;
left: 0;
top: 0;
}
&-size-large &-label{
line-height: 36px;
font-size: @font-size-base;
}
&-size-small &-label{
line-height: 26px;
}
.@{cascader-prefix-cls}-arrow:nth-of-type(1) {
display: none;
cursor: pointer;