Skip to content

Commit

Permalink
[wip] [skip ci] make reference widgets opt-in
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Oct 17, 2024
1 parent 0250432 commit 0dcf00f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down Expand Up @@ -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 -->
Expand Down Expand Up @@ -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
}
},
Expand Down

0 comments on commit 0dcf00f

Please sign in to comment.