@devries-cameron20 / t3code-1 / commits / 5ad7da060d
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): keep markdown separators visible in dark mode (#22367)

Zarrar committed Oct 30, 2026 at 16:39 UTC 5ad7da060d058a1b07c18fb5f47b8230823c5c4d
1 file changed +7 -2
apps/web/src/index.css
+7 -2
@@ -2065,8 +2065,13 @@ code {
2065 margin: 0.65rem 0;
2066 }
2067
2068 -/* Preflight already draws the 1px rule, as it does in chat; only the block
2069 - spacing needs to match. */
2068 +/* Surface borders can blend into dark message bubbles; rules need a readable color. */
2069 +:is(.chat-markdown, .composer-tiptap) hr {
2070 + @variant dark {
2071 + border-color: var(--contrast-muted-foreground);
2072 + }
2073 +}
2074 +
2075 .composer-tiptap hr {
2076 margin: 0.65rem 0;
2077 }