summary refs log tree commit diff
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-13 13:27:31 +0100
committerMalte E <malte.e@mailbox.org>2022-02-13 13:27:31 +0100
commit993b0ae7219024aa917ce43a5d9085b1dee6cc73 (patch)
tree7ae52e375e2efd6197f3a57e755b69ecd8940b5a
parentlet lint fix the code formatting (diff)
downloadnheko-993b0ae7219024aa917ce43a5d9085b1dee6cc73.tar.xz
fix vertical space for some state events
-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