v2
This commit is contained in:
@@ -5,9 +5,12 @@
|
|||||||
.agent-body {
|
.agent-body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: 0px;
|
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
overflow-y: hidden;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
/* ✅ Prevent content from hiding behind bottom nav */
|
||||||
|
padding-bottom: calc(55px + env(safe-area-inset-bottom));
|
||||||
|
padding-bottom: calc(55px + constant(safe-area-inset-bottom)); /* old iOS */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== Header/Navbar ===== */
|
/* ===== Header/Navbar ===== */
|
||||||
@@ -43,7 +46,11 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
height: 55px;
|
|
||||||
|
/* ✅ Height = nav height + safe area */
|
||||||
|
height: calc(55px + env(safe-area-inset-bottom));
|
||||||
|
height: calc(55px + constant(safe-area-inset-bottom));
|
||||||
|
|
||||||
background: #e95420;
|
background: #e95420;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
@@ -51,9 +58,9 @@
|
|||||||
border-top: 1px solid rgba(255,255,255,0.2);
|
border-top: 1px solid rgba(255,255,255,0.2);
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
|
|
||||||
/* ✅ Safe area support (iPhone notch, Android nav bar) */
|
/* ✅ Safe padding */
|
||||||
padding-bottom: env(safe-area-inset-bottom);
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
padding-bottom: constant(safe-area-inset-bottom); /* older iOS */
|
padding-bottom: constant(safe-area-inset-bottom);
|
||||||
}
|
}
|
||||||
.agent-bottom-link {
|
.agent-bottom-link {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -100,7 +107,7 @@
|
|||||||
<i class="fa-solid fa-chart-line"></i>
|
<i class="fa-solid fa-chart-line"></i>
|
||||||
Reports
|
Reports
|
||||||
</a>
|
</a>
|
||||||
<a href="/Agent/Receive" class="agent-bottom-link" style="">
|
<a href="/Agent/Receive" class="agent-bottom-link">
|
||||||
<i class="fa-solid fa-plus"></i>
|
<i class="fa-solid fa-plus"></i>
|
||||||
Payment
|
Payment
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user