fix: Copy button can flow in expanded codeblock

This commit is contained in:
Petr Mironychev
2026-05-15 22:07:40 +02:00
parent a06320d1c4
commit eb7fc2f7b4
4 changed files with 18 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ Rectangle {
property int textFontSize: Qt.application.font.pointSize
property int codeFontSize: Qt.application.font.pointSize
property int textFormat: 0
property Flickable chatViewport: null
property bool isUserMessage: false
property int messageIndex: -1
@@ -259,6 +260,7 @@ Rectangle {
language: itemData.language
codeFontFamily: root.codeFontFamily
codeFontSize: root.codeFontSize
viewport: root.chatViewport
}
component AttachmentComponent : Rectangle {