summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2020-05-14 20:53:01 -0400
committerJoseph Donofry <joedonofry@gmail.com>2020-05-14 20:53:01 -0400
commit6d2789f4d5ffcd4e3e6ad8dfaae6925b0bf7d6ae (patch)
tree2ce43f344f002d2747f5f68b9d87b81873ed87ce /resources/qml/delegates/TextMessage.qml
parentUpdate emoji picker and translations (diff)
parentMerge branch 'master' of ssh://github.com/Nheko-Reborn/nheko (diff)
downloadnheko-6d2789f4d5ffcd4e3e6ad8dfaae6925b0bf7d6ae.tar.xz
Merge master into reactions
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r--resources/qml/delegates/TextMessage.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml

index 7e4b1f29..bef4f76d 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml
@@ -4,4 +4,6 @@ MatrixText { property string formatted: model.data.formattedBody text: "<style type=\"text/css\">a { color:"+colors.link+";}</style>" + formatted.replace("<pre>", "<pre style='white-space: pre-wrap'>") width: parent ? parent.width : undefined + height: isReply ? Math.min(chat.height / 8, implicitHeight) : undefined + clip: true }