Fixed tutorial lists

This commit is contained in:
Julian Molina committed 2021-01-11 15:52:16 +01:00
1 parent 23aceb3653
commit 7aec39e1fe
2 files changed
+13 -3

No files matched your search

+12 -2
View File
@@ -126,13 +126,23 @@ text-rendering:auto;
line-height: 150%
}
li > .tutorial-font-small {
margin-bottom:7px;
.tutorial-list {
margin: -8 0 -8 -15px;
font:normal normal normal 16px/1 "segoeui";
line-height: 150%
}
ul > .tutorial-list {
list-style-position: outside;
}
/* DELETE candidate
div.tutorial-font-small {
margin-bottom:7px;
}
*/
.tutorial-font-medium {
font:normal normal normal 32px/1 "segoeui";
@@ -1272,7 +1272,7 @@ function newSuperalgosTutorialSpace() {
text = UI.projects.superalgos.utilities.docs.addCodeToWhiteList(text)
text = UI.projects.superalgos.utilities.docs.addBold(text)
text = UI.projects.superalgos.utilities.docs.addToolTips(text)
html = html + '<div class="tutorial-font-small"><li>' + text + '</li></div>'
html = html + '<div class="tutorial-list"><ul><li>' + text + '</li></ul></div>'
break
}
case 'Callout': {