Files
webmail/components
Linus Rath 83f06161e6 fix: keep toasts in the bottom corner above what is docked there now, instead of stranded over the message
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.
2026-11-04 18:18:14 +01:00
..