diff --git a/client/src/components/highlights/HighlightSidebar.vue b/client/src/components/highlights/HighlightSidebar.vue index 60f63ba3..cc55e8d2 100644 --- a/client/src/components/highlights/HighlightSidebar.vue +++ b/client/src/components/highlights/HighlightSidebar.vue @@ -13,7 +13,7 @@

Meine Markierung

@@ -112,6 +112,14 @@ const parseUrls = (text: string) => { const noteWithUrls = computed(() => { return parseUrls(note.value); }); + +const isOverflowing = computed(() => { + const element = highlightMark.value; + if (element) { + return element.scrollHeight > element.clientHeight; + } + return false; +});