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
+9 -1
View File
@@ -86,7 +86,14 @@
cursor: pointer; cursor: pointer;
&--large { &--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, &--blue,
@@ -108,6 +115,7 @@
} }
&__wrapper { &__wrapper {
position: relative;
flex: 1; flex: 1;
flex-basis: 33%; flex-basis: 33%;
box-sizing: border-box; box-sizing: border-box;