Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): restore markdown list markers and style h5/h6 in chat bubbles (#451)

Call White931aa80a5994
diff --git a/ui/src/index.css b/ui/src/index.css
index 43a6bd1cb..3b6a372d6 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -457,15 +457,27 @@ pre,
.vr-markdown h1,
.vr-markdown h2,
.vr-markdown h3,
-.vr-markdown h4 { margin: 1em 0 0.5em; font-weight: 700; line-height: 1.3; }
+.vr-markdown h4,
+.vr-markdown h5,
+.vr-markdown h6 { margin: 1em 0 0.5em; font-weight: 700; line-height: 1.3; }
.vr-markdown h1 { font-size: 1.4em; }
.vr-markdown h2 { font-size: 1.25em; }
.vr-markdown h3 { font-size: 1.1em; }
.vr-markdown ul,
.vr-markdown ol { margin: 0 0 0.6em; padding-left: 1.4em; }
+/* Tailwind v4 preflight resets ``list-style: none`` on every ul/ol; restore the
+ marker type here (the rule above only added the indent back, not the bullets). */
+.vr-markdown ul { list-style-type: disc; }
+.vr-markdown ol { list-style-type: decimal; }
.vr-markdown li { margin: 0.15em 0; }
.vr-markdown li > ul,
.vr-markdown li > ol { margin: 0.15em 0; }
+/* GFM task lists: remark-gfm tags the parent ``ul.contains-task-list`` but only
+ the checkbox rows get ``li.task-list-item``. Drop the disc on the task ROWS
+ only (not the whole ul) — the checkbox is their marker — so a list that MIXES
+ task items with ordinary bullets keeps the disc on its plain ``<li>`` siblings. */
+.vr-markdown li.task-list-item { list-style: none; }
+.vr-markdown li.task-list-item input { margin-right: 0.4em; }
.vr-markdown a {
color: var(--cyan);
text-decoration: underline;
@@ -520,8 +532,8 @@ pre,
class so they outrank the base ``.vr-markdown <el>`` rules on specificity,
regardless of source order. */
.vr-markdown--preview { font-size: inherit; line-height: inherit; color: inherit; }
-.vr-markdown.vr-markdown--preview :is(p, h1, h2, h3, h4, ul, ol, pre, blockquote, table, hr) { margin: 0; }
-.vr-markdown.vr-markdown--preview :is(h1, h2, h3, h4) { font-size: inherit; }
+.vr-markdown.vr-markdown--preview :is(p, h1, h2, h3, h4, h5, h6, ul, ol, pre, blockquote, table, hr) { margin: 0; }
+.vr-markdown.vr-markdown--preview :is(h1, h2, h3, h4, h5, h6) { font-size: inherit; }
.vr-markdown.vr-markdown--preview :is(ul, ol) { padding-left: 1.1em; }
.vr-markdown.vr-markdown--preview pre { padding: 4px 8px; border-radius: 6px; }
.vr-markdown.vr-markdown--preview blockquote { padding: 0 0 0 0.7em; }