This commit is contained in:
parent
d54cd25dc2
commit
cf4e905530
1 changed files with 2 additions and 1 deletions
|
@ -128,9 +128,10 @@ function render(node: Node): string {
|
||||||
return render(node.child!);
|
return render(node.child!);
|
||||||
case "Hexagram":
|
case "Hexagram":
|
||||||
//node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid gray; border-radius: 15px; padding: 15px; width: 400px; text-align: center; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);\"><h2>");
|
//node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid gray; border-radius: 15px; padding: 15px; width: 400px; text-align: center; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);\"><h2>");
|
||||||
node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid gray; border-radius: 25px; padding: 30px; width: auto; display: inline-block; text-align: center; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);\"><h2>");
|
node.value = node.value?.replace("</h1>", "</h1><div style=\"border: 1px solid gray; border-radius: 25px; padding: 0 30px; width: auto; display: inline-block; text-align: center; box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);\"><h2>");
|
||||||
node.value = node.value?.replace("<br>", " - ");
|
node.value = node.value?.replace("<br>", " - ");
|
||||||
outputHTML = "<p>" + node.value + "</h2></div></p>";
|
outputHTML = "<p>" + node.value + "</h2></div></p>";
|
||||||
|
//outputHTML = node.value + "</h2></div>";
|
||||||
outputHTML = outputHTML + render(node.child!);
|
outputHTML = outputHTML + render(node.child!);
|
||||||
|
|
||||||
return outputHTML;
|
return outputHTML;
|
||||||
|
|
Loading…
Reference in a new issue