[new feature] DropdownMenu: add direction prop (#3490)
This commit is contained in:
@@ -3,10 +3,17 @@
|
||||
.van-dropdown-item {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&--up {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
&--down {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
&__content {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user