Skip to content

Commit

Permalink
fix(css): webchat text buttle white spaces (#613)
Browse files Browse the repository at this point in the history
* Update botpress-default.css

White space issue with chat bubbles

* fix shearable too
  • Loading branch information
slvnperron committed Jul 27, 2023
1 parent 2d26b69 commit 89db5ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/components/src/css/botpress-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,6 @@ body>div:nth-child(3) {
*/
.bpw-chat-bubble {
color: rgb(255, 255, 255);

white-space: pre-wrap;
word-break: break-word;
}

.bpw-chat-bubble-content {
Expand Down Expand Up @@ -485,6 +482,8 @@ body>div:nth-child(3) {

.bpw-chat-bubble p {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
}

.bpw-chat-bubble:first-of-type {
Expand Down
5 changes: 2 additions & 3 deletions packages/inject/src/themes/shareable.css
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,6 @@ Footer
border-bottom-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;

white-space: pre-wrap;
word-break: break-word;
}

.bpw-message-feedback {
Expand Down Expand Up @@ -685,6 +682,8 @@ Footer

.bpw-chat-bubble p {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
}

.bpw-chat-bubble:first-of-type {
Expand Down

0 comments on commit 89db5ac

Please sign in to comment.