From 2bb31a659a344f617354afb7a2ab682615c3a1f7 Mon Sep 17 00:00:00 2001 From: cevheri Date: Tue, 25 Aug 2026 23:00:22 +0300 Subject: [PATCH] fix(home): hide the demo bundles' unpack placeholder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Opening the site flashed a blue bolt on a dark card inside the frame — the bundler's own "unpacking" placeholder — before the walkthrough appeared. Measured on a cold frame it was on screen from ~15ms until the bundle swapped the document out. Both bundles now hide #__bundler_thumbnail and the "Unpacking..." pill from their own head style. The wrapper already paints the box, so the frame simply stays empty for those few frames. Nothing in the unpacking script touches either element, and the style disappears with the rest of the placeholder document when it is replaced. This edits vendored artifacts, so the rule carries a comment saying to re-apply it if the bundles are regenerated. Co-Authored-By: Claude Opus 5 (1M context) --- public/demo/libredb-studio-demo-mobile.html | 7 +++++++ public/demo/libredb-studio-demo.html | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/public/demo/libredb-studio-demo-mobile.html b/public/demo/libredb-studio-demo-mobile.html index a941e47..6347022 100644 --- a/public/demo/libredb-studio-demo-mobile.html +++ b/public/demo/libredb-studio-demo-mobile.html @@ -10,6 +10,13 @@ #__bundler_thumbnail { position: fixed; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #030303; z-index: 9999; } #__bundler_thumbnail svg { width: 100%; height: 100%; object-fit: contain; } #__bundler_placeholder { color: #999; font-size: 14px; } + /* libredb-website patch: the unpack placeholder — a blue bolt on a dark card, + plus an "Unpacking..." pill — flashed in the frame before the walkthrough + appeared. Our wrapper already paints the box, so hide both and let the + frame stay empty until the real document replaces this one. Nothing in + the unpacking script touches these two elements. Re-apply if these + bundles are regenerated. */ + #__bundler_thumbnail, #__bundler_loading { display: none !important; }