From ab0585609a40cf3e9f88423650cda70fd45f2dd8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 5 Feb 2026 21:57:49 +0200 Subject: [PATCH] chore(mobile/attachments): use bottom-style menu for actions --- apps/client/src/widgets/type_widgets/Attachment.css | 4 ---- apps/client/src/widgets/type_widgets/Attachment.tsx | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css index 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.tsx index 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 }: { atta text={} buttonClassName="icon-action-always-border" iconAction + dropdownContainerClassName="mobile-bottom-menu" + mobileBackdrop >