fix(FN-2513): anchor mobile toasts below header
- Move mobile .toast-container positioning from bottom offset to top offset beneath the fixed header - Tokenize horizontal toast spacing on mobile using var(--space-sm) instead of hardcoded pixel values - Update utility mobile CSS regression test expectations for top anchoring and auto bottom behavior
This commit is contained in:
@@ -2187,9 +2187,10 @@ input[type="range"]:focus-visible {
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.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) + var(--space-2xl));
|
||||
right: 8px;
|
||||
left: 8px;
|
||||
top: calc(var(--header-height, 57px) + env(safe-area-inset-top, 0px) + var(--space-sm));
|
||||
bottom: auto;
|
||||
right: var(--space-sm);
|
||||
left: var(--space-sm);
|
||||
}
|
||||
|
||||
.toast {
|
||||
|
||||
Reference in New Issue
Block a user