diff --git a/src/contents/ui/Bubble.qml b/src/contents/ui/Bubble.qml --- a/src/contents/ui/Bubble.qml +++ b/src/contents/ui/Bubble.qml @@ -121,7 +121,7 @@ property var inReplyTo: MouseArea { Layout.fillWidth: true Layout.margins: 0 - Layout.minimumHeight: Math.min(inReplyToLayout.implicitHeight, Kirigami.Units.gridUnit * 5) + Layout.preferredHeight: inReplyToLayout.implicitHeight Layout.maximumHeight: Kirigami.Units.gridUnit * 5 clip: true @@ -147,7 +147,7 @@ source: 'qrc:/EventViewCompact.qml' active: bubbleRootLayout.replyToOrAnnotatedEventId && !compactMode asynchronous: true - Layout.minimumHeight: inReplyToLoader.item ? inReplyToLoader.item.height : 0 + Layout.preferredHeight: inReplyToLayout.item?.height Layout.fillWidth: true property var event: room.messageById(bubbleRootLayout.replyToOrAnnotatedEventId)