Skip to content
Snippets Groups Projects
Unverified Commit c122915c authored by tastytea's avatar tastytea
Browse files

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
parent 2ec6ee30
No related branches found
No related tags found
No related merge requests found
Pipeline #1738 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment