fix
This commit is contained in:
parent
628b08339a
commit
9f4728e279
3 changed files with 7 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 33a93a46af1b89a6fc169b3c22bd5b9bddf0e86b
|
||||
Subproject commit a7de788097218e7952edf6d1b49e64857e2804ae
|
||||
|
|
@ -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}:`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue