feat(Tabbar): enable safe-area-inset-bottom by default when fixed (#5968)

This commit is contained in:
neverland
2020-03-31 22:16:13 +08:00
committed by GitHub
parent e929f96e04
commit afc3164364
13 changed files with 52 additions and 42 deletions
+4 -3
View File
@@ -6,6 +6,8 @@
left: 0;
z-index: @number-keyboard-z-index;
width: 100%;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: @number-keyboard-background-color;
user-select: none;
@@ -57,9 +59,8 @@
}
}
&--safe-area-inset-bottom {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
&--unfit {
padding-bottom: 0;
}
}