fix(web): square the user's chat bubble at the top right (UF-053)
User messages sit on the right, but the bubble's one square corner was the top left, pointing away from the sender.
This commit is contained in:
@@ -1244,7 +1244,8 @@ const ChatApp = ({
|
||||
// near-surface fill was white-on-white in light mode.
|
||||
// R9 Lane D: dedicated --user-bubble token warms the light-mode
|
||||
// fill (the shared honey-wash read cold green-grey there).
|
||||
? 'rounded-[4px_14px_14px_14px] border border-[var(--user-bubble-line)] bg-[var(--user-bubble)] px-3.5 py-2.5 leading-[1.55] text-[var(--text)]'
|
||||
// The square corner points at the sender: top right (UF-053).
|
||||
? 'rounded-[14px_4px_14px_14px] border border-[var(--user-bubble-line)] bg-[var(--user-bubble)] px-3.5 py-2.5 leading-[1.55] text-[var(--text)]'
|
||||
: msg.role === 'system'
|
||||
? 'rounded-[12px] bg-[var(--surface-2)] px-3 py-2 text-[12px] italic text-[var(--text-muted)]'
|
||||
: 'rounded-[14px] px-3.5 py-2.5 leading-[1.6] text-[var(--text)]'
|
||||
|
||||
Reference in New Issue
Block a user