mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 18:00:27 +08:00
fix(NumberKeyboard): incorrect key height on legacy safari (#6937)
This commit is contained in:
parent
e0da17d8d9
commit
bbfdbc96d4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user