Fix Pretext island: inline layout functions, div placeholder for hydration

- Move all layout functions inside defisland body (browser can't access
  top-level defines from component defs bundle)
- Use div placeholder with data-sx-island attr (matches island root tag)
- Rename pretext-island.sx → pretext-client.sx for alphabetical load order

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 15:42:42 +00:00
parent 498f1a33b6
commit 676ec6dd2b

View File

@@ -302,4 +302,4 @@
(code "canvas.measureText")
" gives pixel-perfect metrics — the browser that measures is the browser that renders. "
"Drag the sliders to re-layout in real time.")
(span :data-sx-island "pretext-demo/live" "")))))))
(div :data-sx-island "pretext-demo/live" "")))))))