mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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:
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user