first
This commit is contained in:
39
node_modules/vant/lib/dropdown-item/index.less
generated
vendored
Normal file
39
node_modules/vant/lib/dropdown-item/index.less
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-dropdown-item {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: @dropdown-item-z-index;
|
||||
overflow: hidden;
|
||||
|
||||
&__icon {
|
||||
display: block;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
&__option {
|
||||
text-align: left;
|
||||
|
||||
&--active {
|
||||
color: @dropdown-menu-option-active-color;
|
||||
|
||||
.van-dropdown-item__icon {
|
||||
color: @dropdown-menu-option-active-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--up {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
&--down {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
&__content {
|
||||
position: absolute;
|
||||
max-height: @dropdown-menu-content-max-height;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user