mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Toast: overlay blocked by other element (#740)
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
left: 50%;
|
||||
display: flex;
|
||||
color: $white;
|
||||
z-index: 3001;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
border-radius: 5px;
|
||||
@@ -18,20 +17,6 @@
|
||||
transform: translate3d(-50%, -50%, 0);
|
||||
background-color: rgba(0, 0, 0, .7);
|
||||
|
||||
&__overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 3000;
|
||||
background-color: transparent;
|
||||
|
||||
&--mask {
|
||||
background-color: rgba(0, 0, 0, .5);
|
||||
}
|
||||
}
|
||||
|
||||
&--text {
|
||||
padding: 12px;
|
||||
min-width: 220px;
|
||||
|
Reference in New Issue
Block a user