Skip to content

Commit

Permalink
fix: [city-picker] 调整下拉面板动效 fix #920
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfeng_wang authored and albyben committed Oct 31, 2024
1 parent 31cae27 commit 2f988de
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/city-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@city-picker-prefix-cls: ~'@{kd-prefix}-city-picker';
@tabs-prefix-cls: ~'@{kd-prefix}-tabs';
@popper-prefix-cls: ~'@{kd-prefix}-popper';

.@{city-picker-prefix-cls} {
position: relative;
Expand Down Expand Up @@ -156,6 +157,15 @@
outline: none;
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);

&.@{popper-prefix-cls}-bottom-start {
&-in {
animation-name: kdSlideUpIn;
}

&-out {
animation-name: kdSlideUpOut;
}
}
// 调整tabs样式
.@{tabs-prefix-cls}-tab-list {
width: 100%;
Expand Down

0 comments on commit 2f988de

Please sign in to comment.