diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-11-12 12:46:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 12:46:58 +0100 |
commit | 4443a36cfd4c06c71189d0d80be6139b4cbcc1c5 (patch) | |
tree | 9e3b2cd15d32de4c652aec4cc15b3025791ed7c0 | |
parent | c2253960d6495cdc0eac9f76d641ba3e238c88d2 (diff) | |
parent | 059e7f895af10b5524ac7a102508310ec1136291 (diff) |
Merge pull request #13573 from nextcloud/feat/noid/reference-opt-in
feat: make reference widgets opt-in
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/MessageBody.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/MessageBody.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/MessageBody.vue index 2dce7185fe..e16137554a 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/MessageBody.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/MessageBody.vue @@ -5,7 +5,7 @@ <template> <div ref="messageMain" - v-element-size="[onResize, { width: 0, height: 24 }]" + v-element-size="[onResize, { width: 0, height: 22.5 }]" v-intersection-observer="onIntersectionObserver" class="message-main"> <!-- System or deleted message body content --> @@ -50,6 +50,7 @@ :interactive="message.markdown && isEditable" :use-extended-markdown="message.markdown" :reference-limit="1" + reference-interactive-opt-in @interact:todo="handleInteraction" /> <!-- Additional controls --> @@ -217,7 +218,7 @@ export default { currentCodeBlock: null, copyButtonOffset: 0, isVisible: false, - previousSize: { width: 0, height: 24 }, // default height of one-line message body without widgets + previousSize: { width: 0, height: 22.5 }, // default height of one-line message body without widgets } }, |