summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-09-04 17:08:29 +0000
committerGitHub <noreply@github.com>2021-09-04 17:08:29 +0000
commit40cfa7ae58b8dcac9972a55c37f621aecc86c869 (patch)
tree03a1932cd4137ed6219b7474b416c66a26ebe053
parentTranslated using Weblate (Portuguese (Portugal)) (diff)
parentDecrease left margins on blockquotes to 1em. (diff)
downloadnheko-40cfa7ae58b8dcac9972a55c37f621aecc86c869.tar.xz
Merge pull request #709 from tastytea/condense-blockquotes
Decrease margins on blockquotes.
-rw-r--r--resources/qml/delegates/TextMessage.qml1
1 files changed, 1 insertions, 0 deletions
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; } </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 ? parent.width : undefined