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-vue/src/components/Counter.vue | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

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

diff --git a/examples/framework-vue/src/components/Counter.vue b/examples/framework-vue/src/components/Counter.vue
index 2703b8b9b..155717ea4 100644
--- a/examples/framework-vue/src/components/Counter.vue
+++ b/examples/framework-vue/src/components/Counter.vue
@@ -4,7 +4,7 @@
     <pre>{{ count }}</pre>
     <button @click="add()">+</button>
   </div>
-  <div class="children">
+  <div class="counter-message">
     <slot />
   </div>
 </template>
@@ -25,3 +25,16 @@ export default {
   },
 };
 </script>
+
+<style>
+.counter {
+  display: grid;
+  font-size: 2em;
+  grid-template-columns: repeat(3, minmax(0, 1fr));
+  margin-top: 2em;
+  place-items: center;
+}
+.counter-message {
+  text-align: center;
+}
+</style>
-- 
cgit v1.2.3

