summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-02-14 15:43:17 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-02-14 15:43:17 +0100
commitddcd4850f101d3aa1d480a3a1b515209f38bfe82 (patch)
tree9663e2551efa94e623ad49ca3578d82f8ca699a5 /resources/qml/delegates/TextMessage.qml
parentPrevent old verification requests from showing up (diff)
parentimprove spacings (diff)
downloadnheko-ddcd4850f101d3aa1d480a3a1b515209f38bfe82.tar.xz
Merge branch 'message-bubbles' of https://github.com/maltee1/nheko into maltee1-message-bubbles
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r--resources/qml/delegates/TextMessage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml

index eea8cd1e..ac681d40 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml
@@ -34,7 +34,7 @@ MatrixText { </style> " + formatted.replace("<pre>", "<pre style='white-space: pre-wrap; background-color: " + Nheko.colors.alternateBase + "'>").replace("<del>", "<s>").replace("</del>", "</s>").replace("<strike>", "<s>").replace("</strike>", "</s>") width: parent.width - height: isReply ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : undefined + height: isReply ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : implicitHeight clip: isReply selectByMouse: !Settings.mobileMode && !isReply font.pointSize: (Settings.enlargeEmojiOnlyMessages && isOnlyEmoji > 0 && isOnlyEmoji < 4) ? Settings.fontSize * 3 : Settings.fontSize