From 3211ef25f7bc321832c9962eb73c7201d221e2a6 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Sun, 5 Jun 2022 18:45:16 +0200
Subject: refactor: Update style on portal forms

---
 apps/portal/src/app/pages/_layout.svelte | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'apps/portal/src/app/pages/_layout.svelte')

diff --git a/apps/portal/src/app/pages/_layout.svelte b/apps/portal/src/app/pages/_layout.svelte
index 713a430..ec4bd11 100644
--- a/apps/portal/src/app/pages/_layout.svelte
+++ b/apps/portal/src/app/pages/_layout.svelte
@@ -1,5 +1,6 @@
 <script>
 	import Button from "$shared/components/button.svelte";
+	import Tile from "$shared/components/tile.svelte";
 	import {switch_theme} from "$shared/lib/helpers";
 </script>
 
@@ -30,9 +31,11 @@
 <main class="container-fluid padding-x-xs padding-x-xxl@xs padding-y-md padding-y-lg@md max-width-sm">
     <slot/>
 
-    <Button on:click={() => switch_theme()}
-            text="Switch theme"
-            variant="secondary"/>
+    <Tile class="margin-top-sm">
+        <Button on:click={() => switch_theme()}
+                text="Switch theme"
+                variant="secondary"/>
+    </Tile>
 
     <figure id="decoration"
             aria-hidden="true">
-- 
cgit v1.3

