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
chore(mobile/attachments): use bottom-style menu for actions
Elian Doranab0585609a40
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.cssindex 014a00b6e5..413d294599 100644--- a/apps/client/src/widgets/type_widgets/Attachment.css+++ b/apps/client/src/widgets/type_widgets/Attachment.css@@ -127,10 +127,6 @@/* #region Attachment actions */-.attachment-actions .dropdown-menu {- width: 20em;-}-.attachment-actions .dropdown-item .tn-icon {position: relative;top: 3px;diff --git a/apps/client/src/widgets/type_widgets/Attachment.tsx b/apps/client/src/widgets/type_widgets/Attachment.tsxindex 95bc3c340c..041814589c 100644--- a/apps/client/src/widgets/type_widgets/Attachment.tsx+++ b/apps/client/src/widgets/type_widgets/Attachment.tsx@@ -239,6 +239,8 @@ function AttachmentActions({ attachment, copyAttachmentLinkToClipboard }: { attatext={<Icon icon="bx bx-dots-vertical-rounded" />}buttonClassName="icon-action-always-border"iconAction+ dropdownContainerClassName="mobile-bottom-menu"+ mobileBackdrop><FormListItemicon="bx bx-file-find"