EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

Size getting large on sending long links

Open r3yc0n1c opened this issue 2 years ago • 2 comments

Description:

Steps to reproduce:

  1. Send a long link in the chat

Expected behavior:

The chat window should maintain its constant width

Actual behavior:

On sending longer links, the chat window gets enlarged

image

r3yc0n1c avatar Jan 18 '23 19:01 r3yc0n1c

Hey, can I work on this?

nawed2611 avatar Jan 21 '23 19:01 nawed2611

If nobody is working on this, I'd like to take this up. This would be a simple fix we can use CSS styles to hide the overflow and display it with an ellipsis if it exceeds the container's width. So the link would look something like https://rocket.chat/aslksjdf... As an enhancement, we can add a tooltip that shows us the full content of the link when we hover over it.

adarsh500 avatar Mar 13 '23 15:03 adarsh500