@hivegpt/hiveai-angular 0.0.210 → 0.0.211
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/bundles/hivegpt-hiveai-angular.umd.js +2 -2
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +3 -3
- package/fesm2015/hivegpt-hiveai-angular.js +2 -2
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/package.json +1 -1
|
@@ -1728,8 +1728,8 @@
|
|
|
1728
1728
|
textarea.style.height = 'auto'; // Reset the height
|
|
1729
1729
|
textarea.style.height = textarea.scrollHeight + "px"; // Adjust height to match content
|
|
1730
1730
|
// Ensure the height doesn't exceed the max-height set in CSS
|
|
1731
|
-
if (textarea.scrollHeight >
|
|
1732
|
-
textarea.style.height = "
|
|
1731
|
+
if (textarea.scrollHeight > 150) {
|
|
1732
|
+
textarea.style.height = "150px"; // Adjust height to match content
|
|
1733
1733
|
textarea.style.overflowY = 'auto'; // Enable scrolling if content exceeds 400px
|
|
1734
1734
|
}
|
|
1735
1735
|
else {
|