agent_ui: Improve image preview on mention hover (#47781)

This PR improves the hover tooltip container for displaying a preview of
the mentioned image in the agent panel.

<img width="600" height="414" alt="Screenshot 2026-01-27 at 1  03 2@2x"
src="https://github.com/user-attachments/assets/f5a6f160-6abf-4c3c-8375-4613f4948360"
/>

Release Notes:

- N/A
681fee2c1fDanilo Leal committed on 1/27/2026, 6:37:11 PM· committed by GitHubparent69d408b
1 file changedLine totals unavailable