We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08e421e + b5a06d3 commit cd1bb30Copy full SHA for cd1bb30
src/components/Widget/layout.tsx
@@ -114,7 +114,8 @@ function WidgetLayout({
114
<div
115
className={cn('rcw-widget-container', {
116
'rcw-full-screen': fullScreenMode,
117
- 'rcw-previewer': imagePreview
+ 'rcw-previewer': imagePreview,
118
+ 'rcw-close-widget-container ': !showChat
119
})
120
}
121
>
src/components/Widget/style.scss
@@ -27,3 +27,8 @@
27
.rcw-previewer .rcw-message-img {
28
cursor: pointer;
29
30
+
31
+.rcw-close-widget-container {
32
+ height: max-content;
33
+ width: max-content;
34
+}
0 commit comments