* [bug#50601,done,0.2h] modify the margin of listitem.
This commit is contained in:
@@ -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";}
|
||||
|
||||
@@ -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 = `<li class="tree-item tree-item-uncreated ${className}"><div class="listitem item-inner tree-item-inner selected text-primary font-bold" ${style}>${untitledLangs[type]}</div></li>`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user