Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/public/editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
</style>
</head>
<body class="color-bg-default color-fg-default">
<div class="d-flex flex-column" style="min-height: 100vh; width: 100vw;" id="app">
<div class="d-flex flex-column" style="height: 100vh; width: 100vw;" id="app">
<!-- Loading Overlay -->
<div class="loading-overlay" id="loadingOverlay">
<div class="loading-spinner"></div>
Expand Down Expand Up @@ -310,7 +310,7 @@
<div class="d-flex flex-items-center flex-justify-center color-fg-muted f5 p-4 text-center" style="height: 100%;" id="outputPlaceholder">
Compiled YAML will appear here
</div>
<pre class="output-pre text-mono color-fg-default" id="outputPre" style="display:none"></pre>
<pre class="output-pre text-mono color-fg-default d-none" id="outputPre"></pre>
</div>
</div>
</div>
Expand Down Expand Up @@ -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;
Expand All @@ -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');
Expand Down