Fix unreadable counter digit on not-yet-reached steps (#3023)

Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-09-09 19:42:15 +02:00
1 parent 4ddc9e9a34
commit 670d63eb1a
227 files changed
+4503 -1577

No files matched your search

@@ -177,7 +177,11 @@ const libJsFiles = pageLibEntries.flatMap(([, lib]) => (lib.js ?? []).map((file)
</nav>
{libJsFiles.map((src) => <script is:inline src={src} defer />)}
<script is:inline src={`/dist/js/tabler${min}.js`} defer></script>
<!-- ESM-only build: load as a module and re-expose the namespace as a local
shim so the capture pages' window.tabler.Dropdown/Offcanvas calls keep working.
A static import (not import()) so window.tabler is set before DOMContentLoaded,
the way the old classic script guaranteed. -->
<script is:inline type="module" set:html={`import * as tabler from '/dist/js/tabler${min}.js';\nwindow.tabler = tabler;`} />
<PageScripts />
+5 -1
View File
@@ -160,7 +160,11 @@ const libJsFiles = pageLibEntries.flatMap(([, lib]) => (lib.js ?? []).map((file)
</div>
{libJsFiles.map((src) => <script is:inline src={src} defer />)}
<script is:inline src={`/dist/js/tabler${min}.js`} defer></script>
<!-- ESM-only build: load as a module and re-expose the namespace as a local
shim so the capture pages' window.tabler.Dropdown/Offcanvas calls keep working.
A static import (not import()) so window.tabler is set before DOMContentLoaded,
the way the old classic script guaranteed. -->
<script is:inline type="module" set:html={`import * as tabler from '/dist/js/tabler${min}.js';\nwindow.tabler = tabler;`} />
<!-- components that render via CaptureScript (e.g. Chart) queue their init script
into shared/lib/page-scripts instead of inlining it where used; this drains it. -->