Fix agent mention pill vertical misalignment with project mention pill

Change vertical-align from baseline to middle on both editor and
read-only mention chip styles. The baseline alignment caused
inconsistent positioning because the agent ::before icon (0.75rem)
and project ::before dot (0.45rem) produced different synthesized
baselines in the inline-flex containers.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-03-24 10:40:59 -05:00
parent e4a114331e
commit a34eb3766f

View file

@ -355,7 +355,7 @@
font-size: 0.75rem;
line-height: 1.3;
text-decoration: none;
vertical-align: baseline;
vertical-align: middle;
white-space: nowrap;
user-select: none;
}
@ -746,7 +746,7 @@ a.paperclip-project-mention-chip {
font-size: 0.75rem;
line-height: 1.3;
text-decoration: none;
vertical-align: baseline;
vertical-align: middle;
white-space: nowrap;
}