make cascader item size autofit

This commit is contained in:
afc163 2016-01-07 20:58:13 +08:00
parent 40a7cbf96f
commit 3b724b39aa

View File

@ -89,7 +89,7 @@
} }
&-menu { &-menu {
float: left; float: left;
width: 111px; min-width: 111px;
height: 180px; height: 180px;
list-style: none; list-style: none;
margin: 0; margin: 0;
@ -102,9 +102,7 @@
} }
} }
&-menu-item { &-menu-item {
height: 32px; padding: 7px 16px;
line-height: 32px;
padding: 0 16px;
cursor: pointer; cursor: pointer;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;