From 8357ec9f31406ad8e1d9b3643a61636fe417a2f4 Mon Sep 17 00:00:00 2001 From: EP Date: Wed, 20 Aug 2025 19:01:19 -0700 Subject: [PATCH] Tabs: add v-cloak safety to prevent all sections showing before Vue mounts; fix Unicode Escape label; defensive CSS --- css/style.css | 3 +++ index.html | 2 +- js/app.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 3356cdb..d9afe9c 100644 --- a/css/style.css +++ b/css/style.css @@ -229,6 +229,9 @@ h1, h2, h3, h4, h5 { padding: 20px 0; } +/* Safety: hide all tab-content until Vue mounts and activates one */ +[v-cloak] .tab-content { display: none; } + /* Input and output sections */ .input-section, .output-section, diff --git a/index.html b/index.html index e074091..2eec181 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ -
+