From ce3548daeba8a604cef2da163e284a182470f5d2 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Wed, 29 Sep 2021 11:48:23 +0200 Subject: [PATCH] Change footer --- src/components/Footer.svelte | 6 ++++-- src/components/Wrapper.svelte | 4 ++-- src/styles/global.scss | 1 - yarn.lock | 12 ++++++------ 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 137289c..b90a744 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,7 +1,8 @@ diff --git a/src/components/Wrapper.svelte b/src/components/Wrapper.svelte index fb9f57b..8017d66 100644 --- a/src/components/Wrapper.svelte +++ b/src/components/Wrapper.svelte @@ -75,8 +75,8 @@ background-color: var(--color-dark); padding: 0; - // Subtract footer and header size - height: calc(100% - 2em - 3em); + // Subtract footer and header size (and footer padding) + height: calc(100% - 2em - 2em - 2px); overflow-y: hidden; diff --git a/src/styles/global.scss b/src/styles/global.scss index b302899..480aedf 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -1,7 +1,6 @@ @use "./themes.scss"; html { - // Subtract height of header and footer height: calc(100vh); } body { diff --git a/yarn.lock b/yarn.lock index 8a392c3..8686201 100644 --- a/yarn.lock +++ b/yarn.lock @@ -515,9 +515,9 @@ doctrine@^3.0.0: esutils "^2.0.2" electron-to-chromium@^1.3.846: - version "1.3.851" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.851.tgz#457846fce94d5de25511570435a94f1a622203ac" - integrity sha512-Ak970eGtRSoHTaJkoDjdkeXYetbwm5Bl9pN/nPOQ3QzLfw1EWRjReOlWUra6o58SVgxfpwOT9U2P1BUXoJ57dw== + version "1.3.853" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.853.tgz#f3ed1d31f092cb3a17af188bca6c6a3ec91c3e82" + integrity sha512-W4U8n+U8I5/SUaFcqZgbKRmYZwcyEIQVBDf+j5QQK6xChjXnQD+wj248eGR9X4u+dDmDR//8vIfbu4PrdBBIoQ== emoji-regex@^8.0.0: version "8.0.0" @@ -1168,9 +1168,9 @@ nanocolors@^0.1.5: integrity sha512-2nMHqg1x5PU+unxX7PGY7AuYxl2qDx7PSrTRjizr8sxdd3l/3hBuWWaki62qmtYm2U5i4Z5E7GbjlyDFhs9/EQ== nanocolors@^0.2.2, nanocolors@^0.2.8: - version "0.2.11" - resolved "https://registry.yarnpkg.com/nanocolors/-/nanocolors-0.2.11.tgz#f2573e6872f1b70067423fc68bbc9d0de2f3bbee" - integrity sha512-83ttyvfJj66dKMadWfBkEUOEDFfRc8FpzTJvh1MySR/pzWFmFikTQZGOV6kHZRz7yR/heiQ1y/MHBBN5P/e7WQ== + version "0.2.12" + resolved "https://registry.yarnpkg.com/nanocolors/-/nanocolors-0.2.12.tgz#4d05932e70116078673ea4cc6699a1c56cc77777" + integrity sha512-SFNdALvzW+rVlzqexid6epYdt8H9Zol7xDoQarioEFcFN0JHo4CYNztAxmtfgGTVRCmFlEOqqhBpoFGKqSAMug== nanoid@^3.1.25: version "3.1.28"