From 2fd01071973205f02742711c532694fcbf2aaa4f Mon Sep 17 00:00:00 2001 From: garrettmills Date: Sat, 9 Apr 2022 12:35:36 -0500 Subject: [PATCH] Make layout expand to fill height of body --- index.html | 2 +- src/App.vue | 15 ++++++--------- src/main.ts | 4 ++-- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 11603f8..8495822 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ Vite App - +
diff --git a/src/App.vue b/src/App.vue index 2d7adae..144cd68 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,13 +19,9 @@ import { MathPage } from "./support/page"; - - - - - - - +
+ +
@@ -35,8 +31,9 @@ import { MathPage } from "./support/page"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; - color: #2c3e50; - margin-top: 60px; + display: flex; + flex-direction: column; + flex: 1; } .links { color: #fff; diff --git a/src/main.ts b/src/main.ts index 0e4e506..5509b40 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,8 +14,8 @@ const vuetify = createVuetify({ components, directives, theme: { - defaultTheme: 'dark' - } + defaultTheme: 'dark', + }, }) // Replaces new Vuetify(...) app.use(vuetify)