mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
feat(DropdownMenu): add --dropdown-menu-box-shadow css var (#4565)
This commit is contained in:
parent
7cbf287438
commit
7f3614997e
@ -648,6 +648,7 @@
|
||||
@dropdown-menu-title-padding: 0 @padding-xs;
|
||||
@dropdown-menu-title-line-height: 18px;
|
||||
@dropdown-menu-option-active-color: @red;
|
||||
@dropdown-menu-box-shadow: 0 2px 12px fade(@gray-7, 12);
|
||||
|
||||
// IndexAnchor
|
||||
@index-anchor-padding: 0 @padding-md;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
.van-dropdown-menu {
|
||||
display: flex;
|
||||
box-shadow: 0 2px 12px fade(@gray-7, 12);
|
||||
box-shadow: var(--dropdown-menu-box-shadow, @dropdown-menu-box-shadow);
|
||||
user-select: none;
|
||||
height: var(--dropdown-menu-height, @dropdown-menu-height);
|
||||
background-color: var(
|
||||
|
Loading…
x
Reference in New Issue
Block a user