Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jljsj33 authored and afc163 committed Sep 3, 2019
1 parent aa9b9db commit 3ad0e80
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion components/drawer/style/drawer.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
z-index: @zindex-modal;
width: 0%;
height: 100%;
transition: transform @animation-duration-slow @ease-base-out, height 0s ease @animation-duration-slow, width 0s ease @animation-duration-slow;
transition: transform @animation-duration-slow @ease-base-out,
height 0s ease @animation-duration-slow, width 0s ease @animation-duration-slow;
> * {
transition: transform @animation-duration-slow @ease-base-out,
box-shadow @animation-duration-slow @ease-base-out;
Expand Down Expand Up @@ -62,6 +63,11 @@
.@{drawer-prefix-cls}-content-wrapper {
box-shadow: @shadow-1-left;
}
// https://github.com/ant-design/ant-design/issues/18607, Avoid edge alignment bug.
&.no-mask {
right: 1px;
transform: translateX(1px);
}
}
}

Expand Down Expand Up @@ -105,6 +111,10 @@
.@{drawer-prefix-cls}-content-wrapper {
box-shadow: @shadow-1-up;
}
&.no-mask {
bottom: 1px;
transform: translateY(1px);
}
}
}

Expand Down

0 comments on commit 3ad0e80

Please sign in to comment.