From c122915c282cb2f0fdc5bed3645f399e66f50e3c Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 4 Sep 2021 14:52:33 +0200 Subject: [PATCH] Decrease left margins on blockquotes to 1em. It is intentionally impossible to add borders to blockquotes via CSS: . Bug: https://github.com/Nheko-Reborn/nheko/issues/704 --- resources/qml/delegates/TextMessage.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index 0bc45a9c..c37314fd 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -29,6 +29,7 @@ MatrixText { border-collapse: collapse; border: 1px solid " + Nheko.colors.text + "; } + blockquote { margin-left: 1em; } " + formatted.replace("
", "
").replace("", "").replace("", "").replace("", "").replace("", "")
     width: parent ? parent.width : undefined