aumera-on-screen-widget 0.0.22 → 0.0.24
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/df-btn.js +4 -5
- package/package.json +1 -1
package/df-btn.js
CHANGED
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
const defaultConfig = {
|
|
135
135
|
env: "prod",
|
|
136
136
|
width: "414px",
|
|
137
|
-
height: "
|
|
137
|
+
height: "85vh",
|
|
138
138
|
openText: "Chat",
|
|
139
139
|
closeText: "Close",
|
|
140
140
|
background: "#FEFFFF",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
showNotification: false,
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
// Track if dark mode was explicitly requested
|
|
153
|
+
// Track if dark mode was explicitly requested via HTML attribute
|
|
154
154
|
const hasExplicitDarkBackground = !!wrapper.getAttribute("backgroundDark");
|
|
155
155
|
|
|
156
156
|
// Initial config from HTML attributes with fallback to defaults
|
|
@@ -406,8 +406,8 @@
|
|
|
406
406
|
.df-btn-content {
|
|
407
407
|
display: block;
|
|
408
408
|
border: 0;
|
|
409
|
-
height: ${config.height || "
|
|
410
|
-
max-height:
|
|
409
|
+
height: ${config.height || "85vh"};
|
|
410
|
+
max-height: 85vh;
|
|
411
411
|
width: ${config.width || "414px"};
|
|
412
412
|
max-width: 414px;
|
|
413
413
|
transition: none;
|
|
@@ -452,7 +452,6 @@
|
|
|
452
452
|
bottom: 0 !important;
|
|
453
453
|
margin: 0 !important;
|
|
454
454
|
border-radius: 0 !important;
|
|
455
|
-
z-index: 10000;
|
|
456
455
|
}
|
|
457
456
|
.df-btn.df-maximized .df-btn-content {
|
|
458
457
|
width: 100vw !important;
|