From 7917fa6c5ca0851f72a821c3d2e5e9f21a52c9c3 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Thu, 2 Apr 2026 23:31:47 -0700 Subject: [PATCH] style(ui): consolidate @layer base blocks per Greptile review Move font-family: inherit declarations into the existing @layer base block at line 117 instead of a separate block, keeping all base-layer overrides in one place. Co-Authored-By: Paperclip --- ui/src/index.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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;