mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(NumberKeyboard): improve safe area inset bottom (#6855)
This commit is contained in:
parent
fb540abe76
commit
418fa02439
@ -6,8 +6,7 @@
|
||||
left: 0;
|
||||
z-index: @number-keyboard-z-index;
|
||||
width: 100%;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
padding-bottom: @number-keyboard-safe-area-inset-bottom;
|
||||
background-color: @number-keyboard-background-color;
|
||||
user-select: none;
|
||||
|
||||
|
@ -498,6 +498,7 @@
|
||||
@number-keyboard-cursor-height: 40%;
|
||||
@number-keyboard-cursor-animation-duration: 1s;
|
||||
@number-keyboard-z-index: 100;
|
||||
@number-keyboard-safe-area-inset-bottom: 32px;
|
||||
|
||||
// Overlay
|
||||
@overlay-z-index: 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user