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:
parent
2ec6ee304f
commit
c122915c28
@ -29,6 +29,7 @@ MatrixText {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border: 1px solid " + Nheko.colors.text + ";
|
border: 1px solid " + Nheko.colors.text + ";
|
||||||
}
|
}
|
||||||
|
blockquote { margin-left: 1em; }
|
||||||
</style>
|
</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>")
|
" + 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
|
width: parent ? parent.width : undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user