mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 09:52:57 +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;
|
left: 0;
|
||||||
z-index: @number-keyboard-z-index;
|
z-index: @number-keyboard-z-index;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: constant(safe-area-inset-bottom);
|
padding-bottom: @number-keyboard-safe-area-inset-bottom;
|
||||||
padding-bottom: env(safe-area-inset-bottom);
|
|
||||||
background-color: @number-keyboard-background-color;
|
background-color: @number-keyboard-background-color;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
|
@ -498,6 +498,7 @@
|
|||||||
@number-keyboard-cursor-height: 40%;
|
@number-keyboard-cursor-height: 40%;
|
||||||
@number-keyboard-cursor-animation-duration: 1s;
|
@number-keyboard-cursor-animation-duration: 1s;
|
||||||
@number-keyboard-z-index: 100;
|
@number-keyboard-z-index: 100;
|
||||||
|
@number-keyboard-safe-area-inset-bottom: 32px;
|
||||||
|
|
||||||
// Overlay
|
// Overlay
|
||||||
@overlay-z-index: 1;
|
@overlay-z-index: 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user