Pose pill grows upward when its name wraps, clear of the bubble text
Anchored by its bottom edge 13px inside the bubble instead of its top edge 15px above it, so a wrapped name and time never cover the first line of text. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
14312459f2
commit
6110292e3b
1 changed files with 3 additions and 1 deletions
|
|
@ -204,7 +204,9 @@ export const BubbleHeaderPose = style({
|
|||
[PHONE]: {
|
||||
position: 'absolute',
|
||||
zIndex: 2,
|
||||
top: toRem(-15),
|
||||
// Anchored by its bottom edge, 13px inside the bubble: a name that wraps grows upward, out of
|
||||
// the bubble, instead of down over the first line of text.
|
||||
bottom: `calc(100% - ${toRem(13)})`,
|
||||
right: toRem(14),
|
||||
padding: `0 ${toRem(13)}`,
|
||||
background: color.Secondary.Container,
|
||||
|
|
|
|||
Loading…
Reference in a new issue