From 031410d81d3be482ba9c7ed51410bed573aebbef Mon Sep 17 00:00:00 2001 From: Simon C Date: Mon, 4 Apr 2022 11:56:13 +0200 Subject: [PATCH] fix: La hauteur de l'application --- src/assets/base.css | 9 +++++++-- src/components/Score.vue | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/assets/base.css b/src/assets/base.css index 53aec3c..bcbc780 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -36,9 +36,14 @@ font-weight: normal; } +html, body, #app { + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} + body { - min-height: 100vh; - max-height: 100vh; color: var(--color-text); background: var(--color-background); line-height: 1.6; diff --git a/src/components/Score.vue b/src/components/Score.vue index eaacfed..b63c109 100644 --- a/src/components/Score.vue +++ b/src/components/Score.vue @@ -104,7 +104,7 @@ const result = computed(() => :options="{ pagination: false, speed: 700, - height: '100vh - var(--header-size)', + height: '100%', arrows: false, direction: 'ttb', wheel: true,