style(NumberKeyboard): improve safe area inset bottom (#6855)

This commit is contained in:
neverland 2020-07-24 15:27:41 +08:00 committed by GitHub
parent fb540abe76
commit 418fa02439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;