[new feature] NumberKeyboard: add safe-area-inset-bottom prop (#3173)
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
}
|
||||
|
||||
&__sidebar {
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 25%;
|
||||
position: absolute;
|
||||
height: @number-keyboard-key-height * 4;
|
||||
@@ -47,6 +47,11 @@
|
||||
padding-right: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
&--safe-area-inset-bottom {
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
}
|
||||
|
||||
.van-key {
|
||||
|
||||
Reference in New Issue
Block a user