From ce8f8e06c0d79fbe44538a1d63c5bf3a79ba27ff Mon Sep 17 00:00:00 2001
From: Drew Powers <1369770+drwpow@users.noreply.github.com>
Date: Mon, 22 Nov 2021 13:38:53 -0700
Subject: Clean up styling for framework-* examples (#1970)

---
 examples/framework-svelte/src/components/Counter.svelte | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

(limited to 'examples/framework-svelte/src/components/Counter.svelte')

diff --git a/examples/framework-svelte/src/components/Counter.svelte b/examples/framework-svelte/src/components/Counter.svelte
index 9aaf421c1..2f4c07339 100644
--- a/examples/framework-svelte/src/components/Counter.svelte
+++ b/examples/framework-svelte/src/components/Counter.svelte
@@ -15,6 +15,19 @@
   <pre>{ count }</pre>
   <button on:click={add}>+</button>
 </div>
-<div class="children">
+<div class="message">
   <slot />
 </div>
+
+<style>
+  .counter{
+    display: grid;
+    font-size: 2em;
+    grid-template-columns: repeat(3, minmax(0, 1fr));
+    margin-top: 2em;
+    place-items: center;
+  }
+  .message {
+    text-align: center;
+  }
+</style>
-- 
cgit v1.2.3

