Add blockquote support.

Fix a border rendering bug.
Fix background-color in UIRichText.
This commit is contained in:
Martín Lucas Golini
2026-03-07 03:33:10 -03:00
parent 638608b48d
commit 2d3a7b3032
5 changed files with 14 additions and 7 deletions
+10 -4
View File
@@ -104,6 +104,7 @@ h6 {
code {
font-family: monospace;
background-color: var(--list-back);
}
p, ol, ul, pre {
@@ -111,6 +112,7 @@ p, ol, ul, pre {
}
li {
margin: 0.67em 0;
padding-left: 2em;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='40' fill='currentColor'/></svg>");
background-tint: var(--font);
@@ -133,12 +135,16 @@ a:hover {
text-decoration: underline;
}
img {
markdownview img {
scale-type: fit-inside;
layout-width: match_parent;
layout-height: wrap_content;
max-height: 100vh;
clip: true;
}
blockquote {
padding-left: 8dp;
background-color: var(--list-back);
border-left: 2dp solid var(--tab-line);
margin: 0.67em 0;
}
pushbutton,