Skip to content

Commit 1672f2e

Browse files
committed
blep
1 parent 703ef0c commit 1672f2e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

web/src/routes/tour/[...slug]/+page.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
if (!wasm) {
9292
wasm = await import("modu-wasm");
9393
await wasm.init();
94+
95+
run(); // run code on load
9496
}
9597
9698
console.log(lesson);
@@ -117,7 +119,9 @@
117119
<div class="flex w-full max-w-screen h-screen flex-col max-w-screen overflow-x-hidden">
118120
<Navbar />
119121

120-
<div class="flex flex-col md:flex-row p-6 md:space-x-8 space-y-6 md:space-y-0 flex-1">
122+
<hr class="border-bg2 mt-1" />
123+
124+
<div class="flex flex-col md:flex-row p-4 md:space-x-8 space-y-6 md:space-y-0 flex-1">
121125
<div class="md:w-1/2 flex flex-col">
122126
<div class="prose max-w-none border border-bg2 py-2 px-4 rounded-lg flex-1">{@html html}</div>
123127
<div class="mt-6 text-center">
@@ -127,7 +131,7 @@
127131
</div>
128132
</div>
129133

130-
<div class="flex flex-col md:w-1/2 space-y-2">
134+
<div class="flex flex-col h-full md:w-1/2 space-y-2">
131135
<div class="h-2/3 relative">
132136
<div class="h-full border border-bg2 rounded-lg p-1 bg-bg0_h" id="code"></div>
133137
<button class="absolute top-4 right-4" on:click={run}>

0 commit comments

Comments
 (0)