From 6cd6b22e2787db3318ebb1f7cffc9a485ade2ea5 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Thu, 2 Apr 2026 22:53:31 -0700 Subject: [PATCH] fix(ui): restore font-family inherit in base layer for non-monospace editors Move font-family: inherit into @layer base so it still applies to non-monospace MDXEditor instances (comments, dialogs) but yields to Tailwind's font-mono utility for agent instruction editors. Co-Authored-By: Paperclip --- ui/src/index.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/src/index.css b/ui/src/index.css index 4febef06ddf..f7af74d83d7 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -319,6 +319,13 @@ color: inherit; } +@layer base { + .paperclip-mdxeditor [class*="_placeholder_"], + .paperclip-mdxeditor-content { + font-family: inherit; + } +} + .paperclip-edit-in-place-content { font-size: 0.9375rem; line-height: 1.75rem;