diff --git a/ui/src/index.css b/ui/src/index.css index f7af74d83d7..ce339ea9186 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,13 +324,6 @@ 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;