Skip to content

Commit 1c81b44

Browse files
committed
Update ve-dropdown.less
1 parent ef81e1e commit 1c81b44

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packages/style/ve-dropdown.less

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
outline: none;
1010
}
1111

12-
.ve-dropdown-dd,
13-
.ve-dropdown-dt {
14-
z-index: 9999;
15-
}
16-
17-
.ve-dropdown-dd,
1812
.ve-dropdown-dt,
1913
.ve-dropdown-items {
2014
margin: 0px;
@@ -62,24 +56,28 @@
6256
text-align: left;
6357
}
6458
}
59+
}
60+
61+
// dropdown popper
62+
.ve-dropdown-popper {
63+
z-index: @ve-dropdown-z-index;
64+
65+
.ve-dropdown-dd,
66+
.ve-dropdown-items {
67+
margin: 0px;
68+
padding: 0px;
69+
}
6570

6671
// 下拉项
6772
.ve-dropdown-dd {
68-
position: absolute !important;
69-
z-index: 9999999;
70-
display: none;
71-
72-
&-show {
73-
display: block;
74-
}
73+
display: block;
7574

7675
.ve-dropdown-items {
7776
min-height: 50px;
7877
overflow: hidden;
7978
text-overflow: ellipsis;
8079
word-wrap: normal;
8180
white-space: nowrap;
82-
position: fixed;
8381
top: 2px;
8482
left: 0px;
8583
list-style: none;
@@ -177,8 +175,10 @@
177175
font-size: 14px;
178176
border-top: 1px solid #e8e8e8;
179177

178+
display: flex;
179+
justify-content: space-around;
180+
180181
.ve-dropdown-operation-item {
181-
padding: 0 8px;
182182
color: #495060;
183183

184184
&.ve-dropdown-filter-disable {

0 commit comments

Comments
 (0)