From 76fbf0a755ad360f988c69d3e01aa1ef6a9d684d Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Tue, 26 May 2026 19:35:43 +0200 Subject: [PATCH] fix: increase terminal lineHeight to 1.2 for mobile font metrics Mobile devices use different monospace fonts (Courier on iOS, Droid Sans Mono on Android) with larger ascent/descent metrics than desktop fonts. With lineHeight: 1.0, calculated cell height was smaller than actual glyph height, causing block characters to render at ~3/4 height. Increasing to 1.2 gives mobile fonts proper vertical space while maintaining desktop compatibility. Quality gates: TypeScript check passed, production build successful --- apps/web/src/components/terminal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/terminal.tsx b/apps/web/src/components/terminal.tsx index 961bfe1..16ecbd5 100644 --- a/apps/web/src/components/terminal.tsx +++ b/apps/web/src/components/terminal.tsx @@ -214,7 +214,7 @@ export const TerminalComponent: React.FC = ({ cursorBlink: true, fontSize: currentFontSize, fontFamily: 'Menlo, Monaco, "Courier New", monospace', - lineHeight: 1.0, + lineHeight: 1.2, letterSpacing: 0, allowTransparency: false, theme: {