From a9c9b427c5e5ff999cc954811e9e0147fecf42ca Mon Sep 17 00:00:00 2001 From: Claas Pancratius <54213976+OfflinePing@users.noreply.github.com> Date: Sat, 23 May 2026 22:38:52 +0200 Subject: [PATCH] fix(ui): render markdown horizontal rules (#498) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - render Markdown horizontal rules instead of hiding them in message content - keep the existing Markdown parser behavior and style the generated hr with the shared border token Solves #491 ## Validation - npm run typecheck --workspace @codenomad/ui - npm run build:linux --workspace @neuralnomads/codenomad-electron-app ## Test release artifact Built locally for Linux; artifacts are ignored and not included in this PR: - packages/electron-app/release/CodeNomad-Electron-linux-x64-0.16.0.zip - packages/electron-app/release/CodeNomad-Electron-linux-x86_64-0.16.0.AppImage Co-authored-by: Shantur Rathore Co-authored-by: Pascal André --- packages/ui/src/styles/markdown.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/styles/markdown.css b/packages/ui/src/styles/markdown.css index 752182c1..6c4341e0 100644 --- a/packages/ui/src/styles/markdown.css +++ b/packages/ui/src/styles/markdown.css @@ -103,7 +103,10 @@ } .markdown-body hr { - display: none; + height: 1px; + margin: 0.9rem 0; + background-color: var(--border-base); + border: 0; } .markdown-body strong {