We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51a0b2 commit e8a5f85Copy full SHA for e8a5f85
1 file changed
less/components/MobileTab.less
@@ -1,5 +1,8 @@
1
:root {
2
- --mobile-tab-height: 54px;
+ --mobile-tab-base-height: 54px;
3
+ --mobile-tab-height: calc(
4
+ var(--mobile-tab-base-height) + env(safe-area-inset-bottom, 0)
5
+ );
6
--mobile-tab-bg: var(--body-bg);
7
--mobile-tab-zindex: var(--zindex-header);
8
--mobile-tab-shadow: 0 2px 6px var(--shadow-color);
@@ -16,7 +19,7 @@
16
19
bottom: 0;
17
20
left: 0;
18
21
width: 100%;
- height: ~"calc(var(--mobile-tab-height) + env(safe-area-inset-bottom, 0))";
22
+ height: var(--mobile-tab-height);
23
background: var(--mobile-tab-bg);
24
box-shadow: var(--mobile-tab-shadow);
25
z-index: var(--mobile-tab-zindex);
0 commit comments