A Claude skill that turns vibecoded, AI-looking UI into a designed interface
JavaScript
story.mjs: spacing bands span the whole stage in --play
Hektor Jacynycz Garcia08d77f7b70b9
diff --git a/skills/unslop/scripts/story.mjs b/skills/unslop/scripts/story.mjsindex a9565db..642fee7 100644--- a/skills/unslop/scripts/story.mjs+++ b/skills/unslop/scripts/story.mjs@@ -232,7 +232,8 @@ const runtime = `if (!groups.has(key)) groups.set(key, []);groups.get(key).push(el);});- const stageWidth = window.parent.innerWidth;+ // In --play the stage is scaled down to fit the window, so take its layout width, not the window's.+ const stageWidth = window.parent.document.body.offsetWidth;const several = groups.size > 1;const pairs = [];groups.forEach((list) => {