fix(composer): scale mention highlight with zoom, align to timeline chip

The composer's Tiptap .mention-highlight pill used a hardcoded
font-size: 15px, freezing it against Cmd +/- zoom (which scales the
root rem font-size). Convert to 1rem so it scales, and align to the
timeline mention chip's text-base (1rem) sizing per #1052's chat-base
type scale. Emoji-mart picker --font-size left as-is per scope.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w
2026-06-15 00:13:04 -07:00
co-authored by Taylor Ho
parent 100f7d2c7a
commit 9af30e37e6
+1 -1
View File
@@ -615,7 +615,7 @@
border-radius: 4px;
background: hsl(var(--primary) / 0.15);
padding: 3px 4px 2px;
font-size: 15px;
font-size: 1rem;
line-height: 1;
color: hsl(var(--primary));
font-weight: 500;