From 67fd101a38baf3e7634c494eb286a671685a76b6 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Fri, 16 Oct 2020 21:29:28 -0700 Subject: [PATCH] Dark theme improvements --- src/App.vue | 4 +++- src/assets/app.scss | 6 +++--- src/components/DynamicTheme.vue | 14 ++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/App.vue b/src/App.vue index 0f137b9..c47b5a9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -159,7 +159,9 @@ export default { } this.config = merge(defaults, config); this.services = this.config.services; - document.title = this.config.documentTitle || `${this.config.title} | ${this.config.subtitle}`; + document.title = + this.config.documentTitle || + `${this.config.title} | ${this.config.subtitle}`; if (this.config.stylesheet) { let stylesheet = ""; for (const file of this.config.stylesheet) { diff --git a/src/assets/app.scss b/src/assets/app.scss index 43d7629..59afd00 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -13,17 +13,17 @@ text-overflow: ellipsis; } -html { +html, body, body #app { height: 100%; + background-color: var(--background); } body { font-family: "Raleway", sans-serif; - height: 100%; #app { + height: auto; min-height: 100%; - background-color: var(--background); background-image: var(--background-image); background-size: cover; background-position: center; diff --git a/src/components/DynamicTheme.vue b/src/components/DynamicTheme.vue index 2ccb47b..fc2fd55 100644 --- a/src/components/DynamicTheme.vue +++ b/src/components/DynamicTheme.vue @@ -1,17 +1,15 @@ -- 2.41.0