mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-12 22:56:58 +01:00
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:
1 parent
b8a788b680
commit
6cd6b22e27
1 file changed
+7
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user