File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,12 @@ textarea {
200200.chatbot-host-bubble {
201201 color : var (--chatbot-host-bubble-color );
202202 background-color : # f7f8ff ;
203+ /* force wrapping of long text or links */
204+ overflow-wrap : break-word;
205+ word-wrap : break-word;
206+ word-break : break-word;
207+ /* ensure it actually wraps instead of running off the screen */
208+ white-space : normal;
203209}
204210
205211.chatbot-host-bubble > .bubble-typing {
@@ -218,6 +224,12 @@ textarea {
218224 color : var (--chatbot-guest-bubble-color );
219225 background-color : # 3b81f6 ;
220226 border-radius : 6px ;
227+ /* force wrapping of long text or links */
228+ overflow-wrap : break-word;
229+ word-wrap : break-word;
230+ word-break : break-word;
231+ /* ensure it actually wraps instead of running off the screen */
232+ white-space : normal;
221233}
222234
223235.chatbot-input ,
You can’t perform that action at this time.
0 commit comments