From 44f350d3938f8f5eaf7395cf2e83505f948cc60c Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Tue, 2 Apr 2024 17:52:15 -0500 Subject: [PATCH] Fix heights. Fuck I love that. --- src/layout/MainLayout/MainLayout.module.css | 4 ++-- src/styles/style.css | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/layout/MainLayout/MainLayout.module.css b/src/layout/MainLayout/MainLayout.module.css index 9749ad7..603163b 100644 --- a/src/layout/MainLayout/MainLayout.module.css +++ b/src/layout/MainLayout/MainLayout.module.css @@ -39,8 +39,8 @@ .MainLayout { width: 100vw; max-width: 100vw; - height: 100vh; - max-height: 100vh; + height: 100%; + max-height: 100%; margin: 0; padding: 0; diff --git a/src/styles/style.css b/src/styles/style.css index 279ee46..3636182 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -9,14 +9,16 @@ --fg-1: hsl(120, 20%, 62.5%); --fg-2: hsl(120, 20%, 75%); --fg-3: hsl(120, 20%, 87.5%); + height: 100%; } body { width: 100vw; - height: 100vh; + height: 100%; + overflow: hidden; margin: 0; padding: 0; - box-sizing: border-box; + /* box-sizing: border-box; */ background-color: var(--bg-2); color: var(--fg-2); font-family: var(--font-LexendDeca);