fix delete confirm dialog overflowing viewport

Position the confirmation popover below the delete button instead of
above it, so it stays within the visible area when messages are near
the top of the chat view.

Closes #50277
This commit is contained in:
Extra Small 2026-03-19 00:24:23 -07:00
parent ff6541f69d
commit af470a4c81

View File

@ -417,7 +417,7 @@ img.chat-avatar {
.chat-delete-confirm {
position: absolute;
bottom: calc(100% + 6px);
top: calc(100% + 6px);
background: var(--card, #1a1a1a);
border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
border-radius: var(--radius-md, 8px);