Skip to content

Commit

Permalink
fix(tab-bar): safe-bottom area is applied correctly (#16179)
Browse files Browse the repository at this point in the history
* fix(tab-bar): safe-bottom area is applied correctly

fixes #16175

* add test
  • Loading branch information
manucorporat authored Nov 1, 2018
1 parent 9c79d98 commit 1532bd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/components/tab-bar/tab-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 6 additions & 0 deletions core/src/components/tabs/test/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1532bd2

Please sign in to comment.