Skip to content

Commit 1dc60bf

Browse files
xintiaobrother啊
andauthored
fix:placement model and mask bugs (#144)
* fix:placement model and mask bugs * chore: delete there is no necessary styles Co-authored-by: 啊 <[email protected]>
1 parent 8c7521e commit 1dc60bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

assets/index.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
@drawer: drawer;
44
.@{drawer} {
55
position: fixed;
6-
top: 0;
76
z-index: 9999;
87
transition: width 0s ease @duration, height 0s ease @duration, transform @duration @ease-in-out-circ;
98
>* {
@@ -86,6 +85,7 @@
8685
}
8786
}
8887
&-left {
88+
top: 0;
8989
left: 0;
9090
.@{drawer} {
9191
&-handle {
@@ -103,6 +103,7 @@
103103
}
104104
}
105105
&-right {
106+
top: 0;
106107
right: 0;
107108
.@{drawer} {
108109
&-content-wrapper {
@@ -154,6 +155,7 @@
154155
}
155156
&-top {
156157
top: 0;
158+
left: 0;
157159
.@{drawer} {
158160
&-handle {
159161
top: auto;
@@ -171,8 +173,8 @@
171173
}
172174
}
173175
&-bottom {
174-
top: unset;
175176
bottom: 0;
177+
left: 0;
176178
.@{drawer} {
177179
&-content-wrapper {
178180
bottom: 0;

0 commit comments

Comments
 (0)