From 187193fa6ea63256880258883aa5f288622b14ed Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Tue, 26 May 2026 19:09:06 +0200 Subject: [PATCH] fix: terminal block character rendering by setting lineHeight to 1.0 and removing container padding --- apps/web/src/components/terminal.tsx | 3 +++ apps/web/src/styles.css | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/terminal.tsx b/apps/web/src/components/terminal.tsx index a809379..961bfe1 100644 --- a/apps/web/src/components/terminal.tsx +++ b/apps/web/src/components/terminal.tsx @@ -214,6 +214,9 @@ export const TerminalComponent: React.FC = ({ cursorBlink: true, fontSize: currentFontSize, fontFamily: 'Menlo, Monaco, "Courier New", monospace', + lineHeight: 1.0, + letterSpacing: 0, + allowTransparency: false, theme: { background: "#1e1e1e", foreground: "#d4d4d4", diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css index 37a2105..350a72b 100644 --- a/apps/web/src/styles.css +++ b/apps/web/src/styles.css @@ -2633,7 +2633,7 @@ a.nav-item, position: relative; width: 100%; height: 100%; - padding: var(--space-2); + padding: 0; overflow: hidden; }