diff --git a/src/vs/workbench/contrib/chat/browser/media/chat.css b/src/vs/workbench/contrib/chat/browser/media/chat.css index 0b9e491a7d265..abc8acd7da508 100644 --- a/src/vs/workbench/contrib/chat/browser/media/chat.css +++ b/src/vs/workbench/contrib/chat/browser/media/chat.css @@ -1660,6 +1660,11 @@ have to be updated for changes to the rules above, or to support more deeply nes user-select: none; outline: none; border: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; + display: inline-block; } .chat-attached-context-attachment.show-file-icons.warning .chat-attached-context-custom-text {