[improvement] Tabbar: add iPhone X layout feature for fixed tabbar (#3149)

This commit is contained in:
TimonPeng
2019-04-18 15:52:26 +08:00
committed by neverland
parent 5b82d67784
commit 2b44f1a8dd
4 changed files with 19 additions and 1 deletions
+6
View File
@@ -11,4 +11,10 @@
bottom: 0;
position: fixed;
}
&--safe-area-inset-bottom {
padding-bottom: 0;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
}