mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
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:
co-authored by
Taylor Ho
parent
100f7d2c7a
commit
9af30e37e6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user