lisichatbot 1.8.5 → 1.8.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisichatbot",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "exports": {
package/src/index.js CHANGED
@@ -587,7 +587,8 @@ function renderOptions(options, field, isSingleSelect = true) {
587
587
  const optionsWrapper = document.createElement('div');
588
588
  optionsWrapper.setAttribute('data-chat-element', 'options-wrapper');
589
589
  optionsWrapper.style.display = 'flex';
590
- optionsWrapper.style.flexDirection = 'column';
590
+ optionsWrapper.style.flexDirection = 'row';
591
+ optionsWrapper.style.flexWrap = 'wrap';
591
592
  optionsWrapper.style.alignItems = 'flex-start';
592
593
  optionsWrapper.style.gap = '8px';
593
594
 
@@ -726,7 +727,8 @@ function renderColorOptions(options, field) {
726
727
  const optionsWrapper = document.createElement('div');
727
728
  optionsWrapper.setAttribute('data-chat-element', 'options-wrapper');
728
729
  optionsWrapper.style.display = 'flex';
729
- optionsWrapper.style.flexDirection = 'column';
730
+ optionsWrapper.style.flexDirection = 'row';
731
+ optionsWrapper.style.flexWrap = 'wrap';
730
732
  optionsWrapper.style.alignItems = 'flex-start';
731
733
  optionsWrapper.style.gap = '8px';
732
734
 
@@ -862,7 +864,8 @@ function renderCustomSelectOptions(options, field, customConfig) {
862
864
  const optionsWrapper = document.createElement('div');
863
865
  optionsWrapper.setAttribute('data-chat-element', 'options-wrapper');
864
866
  optionsWrapper.style.display = 'flex';
865
- optionsWrapper.style.flexDirection = 'column';
867
+ optionsWrapper.style.flexDirection = 'row';
868
+ optionsWrapper.style.flexWrap = 'wrap';
866
869
  optionsWrapper.style.alignItems = 'flex-start';
867
870
  optionsWrapper.style.gap = '8px';
868
871