@ensembleapp/client-sdk 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/chat/ChatWidget.css
CHANGED
|
@@ -94,20 +94,24 @@
|
|
|
94
94
|
.chat-widget__messages {
|
|
95
95
|
flex: 1;
|
|
96
96
|
overflow-y: auto;
|
|
97
|
+
overflow-x: hidden;
|
|
97
98
|
padding: 1rem;
|
|
98
99
|
display: flex;
|
|
99
100
|
flex-direction: column;
|
|
100
101
|
gap: 1rem;
|
|
102
|
+
min-width: 0;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
.chat-widget__message {
|
|
104
106
|
display: flex;
|
|
105
107
|
flex-direction: column;
|
|
106
108
|
gap: 0;
|
|
109
|
+
min-width: 0;
|
|
107
110
|
}
|
|
108
111
|
|
|
109
112
|
.chat-widget__message-row {
|
|
110
113
|
display: flex;
|
|
114
|
+
min-width: 0;
|
|
111
115
|
}
|
|
112
116
|
|
|
113
117
|
.chat-widget__message-row--user {
|
|
@@ -123,6 +127,8 @@
|
|
|
123
127
|
padding: 0.5rem 0.25rem;
|
|
124
128
|
border-radius: calc(var(--chat-radius) * 0.65);
|
|
125
129
|
font-size: var(--chat-font-size);
|
|
130
|
+
min-width: 0;
|
|
131
|
+
overflow-x: hidden;
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
.chat-widget__bubble--user {
|
|
@@ -135,6 +141,7 @@
|
|
|
135
141
|
|
|
136
142
|
.chat-widget__bubble--assistant {
|
|
137
143
|
width: 90%;
|
|
144
|
+
max-width: 90%;
|
|
138
145
|
background: var(--chat-assistant-bg);
|
|
139
146
|
color: var(--chat-assistant-text);
|
|
140
147
|
border-bottom-left-radius: 0.35rem;
|
|
@@ -142,6 +149,16 @@
|
|
|
142
149
|
|
|
143
150
|
.chat-widget__widget {
|
|
144
151
|
width: 100%;
|
|
152
|
+
max-width: 100%;
|
|
153
|
+
min-width: 0;
|
|
154
|
+
overflow-x: hidden;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.widget-customer-root {
|
|
158
|
+
width: 100%;
|
|
159
|
+
max-width: 100%;
|
|
160
|
+
min-width: 0;
|
|
161
|
+
overflow-x: hidden;
|
|
145
162
|
}
|
|
146
163
|
|
|
147
164
|
/* customizing markdown styles */
|