Commit 19cdb3da authored by vertighel's avatar vertighel
Browse files

sequencer.js: fix no-steps placeholder stuck over raw JSON view; style.css:...

sequencer.js: fix no-steps placeholder stuck over raw JSON view; style.css: rimossa regola var{} morta post rename <data>
parent 31a6cc79
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -13,13 +13,6 @@
 */


/* ── 1. General overrides ──────────────────────────────────────────────── */

var {
    font-style: normal;
}


/* ── 2. Navbar & logo ──────────────────────────────────────────────────── */

.navbar-brand img {
+2 −1
Original line number Diff line number Diff line
@@ -209,13 +209,14 @@ document.addEventListener('DOMContentLoaded', () => {
     * placeholder when currentOB is empty.
     */
    async function renderEditor() {
        noStepsPlaceholder?.classList.toggle('d-none', currentOB.length !== 0 || toggleRaw.checked);

        if (toggleRaw.checked) {
            rawTextArea.value = JSON.stringify(currentOB, null, 4);
            return;
        }

        formContainer.innerHTML = '';
        noStepsPlaceholder?.classList.toggle('d-none', currentOB.length !== 0);
        if (currentOB.length === 0) {
            return;
        }