mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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;
|
||||
|
||||
&--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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user