fix(NumberKeyboard): incorrect key height on legacy safari (#6937)

This commit is contained in:
neverland 2020-08-04 19:17:43 +08:00 committed by GitHub
parent e0da17d8d9
commit bbfdbc96d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,14 @@
cursor: pointer;
&--large {
height: 100%;
// height: 100% can't fill flex parent on legacy safari
// see: https://stackoverflow.com/questions/33636796
position: absolute;
top: 0;
right: 6px;
bottom: 6px;
left: 0;
height: auto;
}
&--blue,
@ -108,6 +115,7 @@
}
&__wrapper {
position: relative;
flex: 1;
flex-basis: 33%;
box-sizing: border-box;