fix: safari 14 not show modal (#310)

This commit is contained in:
Joel 2023-06-07 09:59:33 +08:00 committed by GitHub
parent 20899c44ff
commit 040eacb8bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,3 +138,11 @@ button:focus-within {
color: rgb(28 100 242); color: rgb(28 100 242);
background-color: rgb(235 245 255); background-color: rgb(235 245 255);
} }
/* support safari 14 and below */
.inset-0 {
left: 0;
right: 0;
top: 0;
bottom: 0;
}