.row { position: relative; } /* * Anchored inside the message's top-right corner rather than floating above * it: the message list (`.list`) is `overflow-y: auto`, so a tooltip spilling * outside the row box would be clipped or trigger a scrollbar. Staying within * the row keeps it visible at the scroll edges. `pointer-events: none` lets * clicks and inner hover interactions (tool expand, links) pass through. */ .tip { position: absolute; top: 2px; right: 4px; z-index: 5; color: var(--text-dimmed); font-size: 11px; line-height: 1.4; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.12s ease; } .row:hover > .tip { opacity: 1; }