fix(FN-2019): raise mobile toast position above bottom actions
- Update mobile .toast-container bottom offset to include nav, executor footer, standalone gap, safe area, and spacing tokens - Keep toast notifications visible above bottom action buttons on mobile layouts - Align utility-mobile CSS expectation with the new token-based calc expression
This commit is contained in:
@@ -235,7 +235,7 @@ describe("Utility component mobile adaptations", () => {
|
||||
expectMobileRule(css, ".settings-layout", "flex-direction: column;");
|
||||
expectMobileRule(css, ".agent-board", "grid-template-columns: 1fr;");
|
||||
expectMobileRule(css, ".active-agents-grid", "grid-template-columns: 1fr;");
|
||||
expectMobileRule(css, ".toast-container", "bottom: calc(44px + env(safe-area-inset-bottom, 0px));");
|
||||
expectMobileRule(css, ".toast-container", "bottom: calc(var(--mobile-nav-height, 44px) + var(--executor-footer-height, 0px) + var(--standalone-bottom-gap, 0px) + env(safe-area-inset-bottom, 0px) + var(--space-lg));");
|
||||
expectMobileRule(css, ".background-tasks-indicator__popover", "position: fixed;");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -5488,7 +5488,7 @@ body {
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.toast-container {
|
||||
bottom: calc(44px + env(safe-area-inset-bottom, 0px));
|
||||
bottom: calc(var(--mobile-nav-height, 44px) + var(--executor-footer-height, 0px) + var(--standalone-bottom-gap, 0px) + env(safe-area-inset-bottom, 0px) + var(--space-lg));
|
||||
right: 8px;
|
||||
left: 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user