This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化layer在特殊场景下的定位

old
宇天 2019-09-04 20:56:15 +08:00
parent 22e12d7f77
commit 07e4b9c0aa
1 changed files with 5 additions and 7 deletions

View File

@ -10,8 +10,11 @@
display: none;
justify-content: center;
align-items: center;
width: auto;
height: auto;
position: fixed;
z-index: 65534;
left: 0;
top: 0;
width: 100%;
}
:host([alert]),
:host([confirm]),
@ -187,11 +190,6 @@
}
:host([mask]) {
position: fixed;
z-index: 65534;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(5px);