Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(attachments): let a card's menu open past the card
Elian Doran30f0c8d1abcb
diff --git a/apps/client/src/widgets/type_widgets/Attachment.tsx b/apps/client/src/widgets/type_widgets/Attachment.tsxindex 406687294e..eab0f6efb0 100644--- a/apps/client/src/widgets/type_widgets/Attachment.tsx+++ b/apps/client/src/widgets/type_widgets/Attachment.tsx@@ -422,6 +422,10 @@ function AttachmentActions({ attachment, copyAttachmentReferenceToClipboard, onSmobileBackdrop// Doesn't scroll, so it keeps the working backdrop blur — see the prop's own docs.noDropdownListStyle+ // The card clips its overflow, to keep a picture inside its rounded corners, and a menu+ // opening from the header is taller than the header has room for — so it is rendered+ // into the body to stand clear of the card, as the highlights card's menu is.+ portalToBody><FormListItemicon="bx bx-file-find"