fix(FN-4812): anchor FileMentionPopup above input on mobile

Fusion-Task-Id: FN-4812
Fusion-Task-Lineage: 9877a784-5320-410c-82fa-3f6a6d9b5358
This commit is contained in:
Fusion (runfusion.ai)
2026-05-16 19:00:05 -07:00
committed by gsxdsm
parent 7cd5554641
commit 02713ee45e

View File

@@ -106,6 +106,13 @@
@media (max-width: 768px) {
.file-mention-popup {
/* Anchored to relative chat input wrappers; bottom: 100% tracks input height on mobile. */
top: auto !important;
bottom: calc(100% + var(--space-xs));
left: var(--space-md) !important;
right: var(--space-md);
max-width: none;
width: auto;
max-height: calc(var(--space-xl) * 8 + var(--space-sm));
}