Decrease left margins on blockquotes to 1em.

It is intentionally impossible to add borders to blockquotes via CSS:
<https://bugreports.qt.io/browse/QTBUG-23244>.

Bug: https://github.com/Nheko-Reborn/nheko/issues/704
This commit is contained in:
tastytea 2021-09-04 14:52:33 +02:00
parent 2ec6ee304f
commit c122915c28
No known key found for this signature in database
GPG key ID: CFC39497F1B26E07

View file

@ -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