diff --git a/modules/helpFunctions/addCss.js b/modules/helpFunctions/addCss.js index a1046f0..97e78e5 100644 --- a/modules/helpFunctions/addCss.js +++ b/modules/helpFunctions/addCss.js @@ -26,7 +26,13 @@ function addCss() { text-align: left; border: 1px solid #d3d3d3; } - + + #conditionListElement > ul{ + padding-inline-start: 0px; + margin-block-start: 0px; + margin-block-end: 0px; + } + #conditionListBar { padding: 10px; cursor: move; @@ -34,6 +40,7 @@ function addCss() { background-color: #2196F3; color: #fff; } + .collapsible{ vertical-align: top; @@ -43,6 +50,13 @@ function addCss() { display:none; } + .conditionListEntry{ + padding: 5px; + font-size: 14px; + line-height: 1.618em; + list-style: none; + } + `; document.body.appendChild(ConditionListStyles); } \ No newline at end of file diff --git a/modules/list/getConditionLi.js b/modules/list/getConditionLi.js index e0f739f..3b0684c 100644 --- a/modules/list/getConditionLi.js +++ b/modules/list/getConditionLi.js @@ -1,9 +1,9 @@ function getConditionLi(condition, iCon) { var conditionLi = document.createElement("li"); - // conditionLi.innerHTML = condition.id; - // conditionLi.innerHTML = ""; + conditionLi.classList.add("conditionListEntry"); var innerHTML = ``; innerHTML += `