mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-20 16:08:14 +00:00
Toasts took their place from values worked out earlier: the quick reply box's height (not where it is), a fixed 80 px while any composer was open, a fixed 400 px beside the calendar panel, and a move to the top corner for the focused element that nothing undid once that element went. After a page change, a move that opened the next message or a closed reply dock they stood over the content, over the quick reply box on a phone, or off screen beside the panel in a narrow window. lib/toast-placement.ts now measures what is marked data-toast-avoid or data-end-sheet where it is on screen, in the frame after anything changes. The toast-layout, quick reply and calendar sheet tests asserted the old classes, CSS variable and stylesheet rule, which are gone; they now check the defaults and the marks, and toast-placement.test.tsx checks the place.