diff --git a/plugins/attachment-resources/src/components/AttachmentPresenter.svelte b/plugins/attachment-resources/src/components/AttachmentPresenter.svelte index b63fd9d12e..ae49a4888e 100644 --- a/plugins/attachment-resources/src/components/AttachmentPresenter.svelte +++ b/plugins/attachment-resources/src/components/AttachmentPresenter.svelte @@ -161,8 +161,7 @@ flex-shrink: 0; width: auto; height: 3rem; - min-width: 14rem; - max-width: 19rem; + min-width: 17.25rem; border-radius: 0.25rem; .icon { diff --git a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte index 419a1aef9d..ccc57569ef 100644 --- a/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte +++ b/plugins/attachment-resources/src/components/AttachmentStyledBox.svelte @@ -19,7 +19,7 @@ import { IntlString, setPlatformStatus, unknownError } from '@hcengineering/platform' import { createQuery, DraftController, draftsStore, getClient } from '@hcengineering/presentation' import textEditor, { AttachIcon, type RefAction, StyledTextBox } from '@hcengineering/text-editor' - import { ButtonSize, IconSize, Loading, updatePopup } from '@hcengineering/ui' + import { ButtonSize, IconSize, Loading, updatePopup, Scroller } from '@hcengineering/ui' import { ListSelectionProvider, SelectDirection } from '@hcengineering/view-resources' import attachment from '../plugin' import { deleteFile, uploadFile } from '../utils' @@ -410,59 +410,63 @@ /> {#if (attachments.size && enableAttachments) || progress} -