diff --git a/src/plugins/notebook/components/NotebookEntry.vue b/src/plugins/notebook/components/NotebookEntry.vue index b10ad35ea8..dbcae32e45 100644 --- a/src/plugins/notebook/components/NotebookEntry.vue +++ b/src/plugins/notebook/components/NotebookEntry.vue @@ -91,9 +91,14 @@ @tags-updated="timestampAndUpdate" /> -
+
{ + return embed.$el.clientWidth + total; + }, 0); + + this.enableEmbedsWrapperScroll = embedsTotalWidth > embedsWrapperLength; + } + + }, async dropOnEntry($event) { $event.stopImmediatePropagation(); @@ -326,6 +364,8 @@ export default { this.entry.embeds.splice(embedPosition, 1); this.timestampAndUpdate(); + + this.manageEmbedLayout(); }, updateEmbed(newEmbed) { this.entry.embeds.some(e => {