fix(tab-bar): safe-bottom area is applied correctly (#16179)

* fix(tab-bar): safe-bottom area is applied correctly

fixes #16175

* add test
This commit is contained in:
Manu MA
2018-11-01 18:29:33 +01:00
committed by GitHub
parent 9c79d9856f
commit 1532bd2f48
2 changed files with 9 additions and 1 deletions

View File

@@ -22,7 +22,9 @@
contain: strict;
user-select: none;
z-index: $z-index-toolbar;
box-sizing: content-box;
/* stylelint-disable-next-line declaration-no-important */
box-sizing: content-box !important;
}
:host(.ion-color) {

View File

@@ -8,6 +8,12 @@
<link href="../../../../../css/ionic.bundle.css" rel="stylesheet">
<link href="../../../../../scripts/testing/styles.css" rel="stylesheet">
<script src="../../../../../dist/ionic.js"></script>
<style>
:root {
--ion-safe-area-bottom: 40px;
}
</style>
</head>
<body>