From 9f4728e27984c81c8be1d77f985de259e26f90ef Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Tue, 3 Mar 2026 00:08:20 +0000 Subject: [PATCH] fix --- apps/client/src/features/editor/styles/core.css | 4 ++++ apps/server/src/ee | 2 +- .../integrations/import/services/import-attachment.service.ts | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/client/src/features/editor/styles/core.css b/apps/client/src/features/editor/styles/core.css index c1f67554..b828fcb4 100644 --- a/apps/client/src/features/editor/styles/core.css +++ b/apps/client/src/features/editor/styles/core.css @@ -128,6 +128,10 @@ margin-top: 0; } + .react-renderer.node-callout div[style*="white-space: inherit;"] > :last-child { + margin-bottom: 0; + } + .react-renderer.node-callout + .react-renderer.node-callout { margin-top: 0.75em; } diff --git a/apps/server/src/ee b/apps/server/src/ee index 33a93a46..a7de7880 160000 --- a/apps/server/src/ee +++ b/apps/server/src/ee @@ -1 +1 @@ -Subproject commit 33a93a46af1b89a6fc169b3c22bd5b9bddf0e86b +Subproject commit a7de788097218e7952edf6d1b49e64857e2804ae diff --git a/apps/server/src/integrations/import/services/import-attachment.service.ts b/apps/server/src/integrations/import/services/import-attachment.service.ts index 43f4d3fa..bba517d0 100644 --- a/apps/server/src/integrations/import/services/import-attachment.service.ts +++ b/apps/server/src/integrations/import/services/import-attachment.service.ts @@ -531,7 +531,7 @@ export class ImportAttachmentService { // Post-process DOM elements to add file sizes after uploads complete // This avoids blocking file operations during initial DOM processing - const elementsNeedingSize = $('[data-attachment-id]:not([data-size])'); + const elementsNeedingSize = $('[data-attachment-id]:not([data-attachment-size])'); for (const element of elementsNeedingSize.toArray()) { const $el = $(element); const attachmentId = $el.attr('data-attachment-id'); @@ -545,7 +545,7 @@ export class ImportAttachmentService { if (processedEntry) { try { const stat = await fs.stat(processedEntry.abs); - $el.attr('data-size', stat.size.toString()); + $el.attr('data-attachment-size', stat.size.toString()); } catch (error) { this.logger.debug( `Could not get size for ${processedEntry.abs}:`,