Skip to content

Commit 88d4d5e

Browse files
author
liyuan-meng
committed
🐛[Dropdown]修改 dropdown 层级
1 parent 0a2b288 commit 88d4d5e

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/components/c-dropdown/index.less

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
width: fit-content;
3535
min-width: fit-content !important;
3636

37-
z-index: @z-index-dropdown;
37+
z-index: 1;
3838

3939
&-menu-area {
4040
border-radius: 6px;
@@ -188,3 +188,12 @@
188188
.@{dropdown-prefix-cls}-slide-up-enter {
189189
opacity: 1;
190190
}
191+
192+
.@{dropdown-prefix-cls}-placement-top,
193+
.@{dropdown-prefix-cls}-placement-topLeft,
194+
.@{dropdown-prefix-cls}-placement-topRight,
195+
.@{dropdown-prefix-cls}-placement-bottom,
196+
.@{dropdown-prefix-cls}-placement-bottomLeft,
197+
.@{dropdown-prefix-cls}-placement-bottomRight {
198+
z-index: @z-index-dropdown;
199+
}

0 commit comments

Comments
 (0)