diff --git a/docs/public/editor/index.html b/docs/public/editor/index.html index 41c45fa6222..da6cd99ff3a 100644 --- a/docs/public/editor/index.html +++ b/docs/public/editor/index.html @@ -193,7 +193,7 @@ -
+
@@ -310,7 +310,7 @@
Compiled YAML will appear here
- +

       
@@ -547,8 +547,8 @@ const md = editor.value; if (!md.trim()) { - outputPre.style.display = 'none'; - outputPlaceholder.style.display = 'flex'; + outputPre.classList.add('d-none'); + outputPlaceholder.classList.remove('d-none'); outputPlaceholder.textContent = 'Compiled YAML will appear here'; currentYaml = ''; return; @@ -573,8 +573,8 @@ setStatus('ready', 'Ready'); currentYaml = result.yaml; outputPre.textContent = result.yaml; - outputPre.style.display = 'block'; - outputPlaceholder.style.display = 'none'; + outputPre.classList.remove('d-none'); + outputPlaceholder.classList.add('d-none'); if (result.warnings && result.warnings.length > 0) { warningText.textContent = result.warnings.join('\n');