Skip to content

The open-source app everyone uses to manage agents at work

fix(ui): make markdown editor monospace for agent instruction files (#2620)

Devin Foley43fa9c3a9a17
diff --git a/ui/src/index.css b/ui/src/index.css
index 12b1c9660f..f9452a9f8a 100644
--- a/ui/src/index.css
+++ b/ui/src/index.css
@@ -142,6 +142,11 @@
label {
touch-action: manipulation;
}
+ /* Let font-mono (utilities layer) override for monospace editors */
+ .paperclip-mdxeditor [class*="_placeholder_"],
+ .paperclip-mdxeditor-content {
+ font-family: inherit;
+ }
}
@media (pointer: coarse) {
@@ -319,14 +324,12 @@
}
.paperclip-mdxeditor [class*="_placeholder_"] {
- font-family: inherit;
font-size: 0.875rem;
line-height: 1.5;
color: var(--muted-foreground);
}
.paperclip-mdxeditor-content {
- font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;