cmux/web/app/components
Lawrence Chen 8dc4f5bd05
Fix ASCII diagram font rendering on concepts page (#420)
* Fix ASCII diagram rendering: use system mono font for box-drawing chars

Geist Mono renders box-drawing characters (┌─┐│└┘) at double width,
breaking alignment in the concepts page diagram. Use system monospace
fonts (Menlo, Monaco, Consolas) for ascii-variant code blocks, which
handle these characters at correct single width.

* Fix CSS specificity: code element was overriding pre font-family

.docs-content code sets font-family to Geist Mono, which overrides
the system mono font set on the parent pre element. Geist Mono is
loaded with Latin subset only, lacking box-drawing glyphs (U+2500-257F),
so browsers fall back to CJK-aware fonts that render them double-width.

Fix: add font-family: inherit to .docs-content pre code so code
elements inside pre blocks inherit the correct font from their parent.
2026-02-23 20:19:45 -08:00
..
callout.tsx Add docs, blog, community pages and polish landing page layout 2026-02-09 23:38:05 -08:00
code-block.tsx Fix ASCII diagram font rendering on concepts page (#420) 2026-02-23 20:19:45 -08:00
docs-nav-items.ts Add docs, blog, community pages and polish landing page layout 2026-02-09 23:38:05 -08:00
docs-pager.tsx Add docs, blog, community pages and polish landing page layout 2026-02-09 23:38:05 -08:00
docs-sidebar.tsx Add docs, blog, community pages and polish landing page layout 2026-02-09 23:38:05 -08:00
download-button.tsx Remove docs-site, add PostHog analytics to web (#66) 2026-02-18 04:00:04 -08:00
fade-image.tsx Replace blur placeholder with opacity fade-in on hero screenshot (#278) 2026-02-21 06:24:59 -08:00
github-button.tsx Remove docs-site, add PostHog analytics to web (#66) 2026-02-18 04:00:04 -08:00
mobile-drawer.tsx Full-screen overlay with drawer-local close button and theme toggle 2026-02-10 00:54:51 -08:00
nav-links.tsx Add homepage wall of love, FAQ, blog post, footer redesign, and SEO improvements 2026-02-21 06:16:38 -08:00
site-footer.tsx Add homepage wall of love, FAQ, blog post, footer redesign, and SEO improvements 2026-02-21 06:16:38 -08:00
site-header.tsx Add Read the Docs link below bottom CTA on homepage (#411) 2026-02-23 20:09:44 -08:00
spacing-control.tsx Set community gap to 16px, add dingyi China tweet to blog post (#279) 2026-02-21 06:26:55 -08:00