diff --git a/src/qml/FeedDetailsPage.qml b/src/qml/FeedDetailsPage.qml index f4047241..b2c9127b 100644 --- a/src/qml/FeedDetailsPage.qml +++ b/src/qml/FeedDetailsPage.qml @@ -188,7 +188,9 @@ Kirigami.ScrollablePage { Controls.Label { Layout.fillWidth: true Layout.alignment: Qt.AlignTop - textFormat: TextEdit.RichText + textFormat: page.showMoreInfo ? TextEdit.RichText : Text.StyledText + maximumLineCount: page.showMoreInfo ? undefined : 2 + elide: Text.ElideRight text: feed.description font.pointSize: Kirigami.Theme.defaultFont.pointSize wrapMode: Text.WordWrap