fix: ul styles for rich text #9

Merged
ilia merged 1 commits from fixes/visuals into main 2026-05-26 12:40:29 +00:00
+6 -5
View File
@@ -316,15 +316,12 @@
.rich-text ul {
list-style: none;
padding-left: 0;
padding-left: 1.5em;
margin: 1em 0;
}
.rich-text ul li {
display: grid;
grid-template-columns: auto 1fr;
gap: 0.65em;
align-items: start;
text-indent: -1.5em;
margin-top: 0.5em;
}
@@ -334,6 +331,10 @@
.rich-text ul li::before {
content: "◆";
display: inline-block;
width: calc(1.5em / 0.55);
/* reset inherited text-indent so glyph isn't shifted inside the ::before box */
text-indent: 0;
color: var(--blue);
font-size: 0.55em;
/* line-height matches parent so diamond centers within the first line box */