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 <noreply@paperclip.ing>
This commit is contained in:
Devin FoleyandPaperclip committed 2026-04-02 22:53:31 -07:00
1 parent b8a788b680
commit 6cd6b22e27
1 file changed
+7
+7
View File
@@ -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;