style(NumberKeyboard): adjust key height to 28px (#6899)

This commit is contained in:
neverland 2020-07-29 18:12:42 +08:00 committed by GitHub
parent d6d333370f
commit 7d375e3af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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: 28px;
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;

View File

@ -487,7 +487,7 @@
// NumberKeyboard // NumberKeyboard
@number-keyboard-background-color: @gray-2; @number-keyboard-background-color: @gray-2;
@number-keyboard-key-height: 56px; @number-keyboard-key-height: 48px;
@number-keyboard-key-font-size: 28px; @number-keyboard-key-font-size: 28px;
@number-keyboard-key-active-color: @gray-3; @number-keyboard-key-active-color: @gray-3;
@number-keyboard-delete-font-size: @font-size-lg; @number-keyboard-delete-font-size: @font-size-lg;