[bugfix] Toast: overlay blocked by other element (#740)

This commit is contained in:
neverland
2018-03-21 15:58:11 +08:00
committed by GitHub
parent 11f9715793
commit bca3401d81
7 changed files with 116 additions and 134 deletions

View File

@@ -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;