diff --git a/lib/zin/wg/thinkstepmenu/css/v1.css b/lib/zin/wg/thinkstepmenu/css/v1.css index b37a40fad9..e0df3cc50e 100644 --- a/lib/zin/wg/thinkstepmenu/css/v1.css +++ b/lib/zin/wg/thinkstepmenu/css/v1.css @@ -26,7 +26,7 @@ .think-node-menu .tree:not(.is-nested-root)>.tree-item:not(.is-nested) .listitem {margin-left: calc((-2)*var(--space));} .think-node-menu .tree:not(.is-nested-root) .tree-item.is-nested {padding-left: calc(7*var(--space));} .think-node-menu .tree:not(.is-nested-root) .tree-item:not(.is-nested) {padding-left: 42px;} -.think-node-menu .tree .tree-item .item-content-thinmory {position: relative; min-height: calc(8*var(--space)); margin-right: 2px;} +.think-node-menu .tree .tree-item .item-content-thinmory {position: relative; min-height: calc(8*var(--space)); margin-right: 2px; margin-bottom: 6px;} .think-node-menu .tree .tree-item .item-content-thinmory>.form-control {position: absolute; top: 0; left: 0; z-index: 2;} .has-sidebar .think-node-menu>.toggle-btn.is-collapsed .icon:before {content: "\e931";} diff --git a/lib/zin/wg/thinkstepmenu/js/v1.js b/lib/zin/wg/thinkstepmenu/js/v1.js index 1ae72b238b..f0e38749f9 100644 --- a/lib/zin/wg/thinkstepmenu/js/v1.js +++ b/lib/zin/wg/thinkstepmenu/js/v1.js @@ -83,7 +83,7 @@ window.addQuestion = function(stepID, parentID, type, questionType = '') const {wizard, parent = 0} = $element.data(); const level = parent == parentID ? $element.data('level') : $element.data('level') + 1; - const style = `style="margin-left: calc(${parent == parentID ? 12 : 3} * (-4px)); padding-left: 12px;"`; + const style = `style="margin-bottom: 6px; margin-left: calc(${parent == parentID ? 12 : 3} * (-4px)); padding-left: 12px;"`; const className = parent == parentID ? '' : 'mt-2'; const $title = `
  • ${untitledLangs[type]}
  • `;