From 427d58d61d09f1aa96968c9bf61be8615c1429e2 Mon Sep 17 00:00:00 2001 From: Giac Date: Tue, 9 Dec 2025 13:51:30 -0600 Subject: [PATCH] Fixed chart to use 2d10 --- src/lib/components/diceRoller.svelte | 50 ++++++++++++++-------------- src/routes/rules/+page.svelte | 11 +++--- 2 files changed, 30 insertions(+), 31 deletions(-) diff --git a/src/lib/components/diceRoller.svelte b/src/lib/components/diceRoller.svelte index 7580dbc..42f62a4 100644 --- a/src/lib/components/diceRoller.svelte +++ b/src/lib/components/diceRoller.svelte @@ -7,33 +7,33 @@
X: {roll.x} | Y: {roll.y}
- + - {#each {length: 11} as _, i} - - + {#each {length: 10} as _, i} + + {/each} - - + + - - + + - {#each {length: 11} as _, i} - {i} - {i} + {#each {length: 10} as _, i} + {i+1} + {i+1} {/each} @@ -70,18 +70,18 @@ font-weight: bold; margin-top: 10px; text-align: center; - margin-bottom: 20px; } .chart-container { display: flex; - justify-content: center; - margin-top: 20px; + justify-content:center; + margin-top: 0px; } svg { - width: 100%; - max-width: 300px; + display: flex; + justify-content: center; + max-width: 75%; height: auto; } diff --git a/src/routes/rules/+page.svelte b/src/routes/rules/+page.svelte index c3f49cc..af1b0b7 100644 --- a/src/routes/rules/+page.svelte +++ b/src/routes/rules/+page.svelte @@ -9,11 +9,6 @@
-
- Theme Selector - -
-

How to Play

@@ -94,12 +89,16 @@ Absolutely! These are guidelines. House rules are encouraged!

+
+ Theme Selector + +