π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:art: Fix space excess below footer (#522)
Alicia Sykes730a67435ed8
diff --git a/src/App.vue b/src/App.vueindex 27984144..382e1719 100644--- a/src/App.vue+++ b/src/App.vue@@ -1,5 +1,5 @@<template>- <div id="dashy">+ <div id="dashy" :style="topLevelStyleModifications"><EditModeTopBanner v-if="isEditMode" /><LoadingScreen :isLoading="isLoading" v-if="shouldShowSplash" /><Header :pageInfo="pageInfo" />@@ -72,6 +72,17 @@ export default {isEditMode() {return this.$store.state.editMode;},+ topLevelStyleModifications() {+ const vc = this.visibleComponents;+ if (!vc.footer && !vc.pageTitle) {+ return '--footer-height: 1rem;';+ } else if (!vc.footer) {+ return '--footer-height: 5rem;';+ } else if (!vc.pageTitle) {+ return '--footer-height: 4rem;';+ }+ return '';+ },},methods: {/* Injects the users custom CSS as a style tag */