From 4b9e11c48173fbbc15017b51978d3b48c4ebabce Mon Sep 17 00:00:00 2001 From: "alpe@pc" Date: Sun, 15 Oct 2023 16:18:25 -0300 Subject: [PATCH] Fix on some browsers - add vh as fallback for dvh - force light color scheme to fix css on kiwi browser --- advice-generator-app/src/css/style.css | 3 +++ sunnyside-agency-landing-page/src/css/style.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/advice-generator-app/src/css/style.css b/advice-generator-app/src/css/style.css index 24fc610..ec32711 100644 --- a/advice-generator-app/src/css/style.css +++ b/advice-generator-app/src/css/style.css @@ -1,3 +1,5 @@ +:root{ color-scheme: only light} + * { margin: 0; padding: 0; @@ -7,6 +9,7 @@ body { background-color: hsl(218, 23%, 16%); font-family: 'Manrope', sans-serif; font-weight: 800; + min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; diff --git a/sunnyside-agency-landing-page/src/css/style.css b/sunnyside-agency-landing-page/src/css/style.css index 9ac5a7a..3a8d758 100644 --- a/sunnyside-agency-landing-page/src/css/style.css +++ b/sunnyside-agency-landing-page/src/css/style.css @@ -1,3 +1,5 @@ +:root{ color-scheme: only light} + html { font-family: 'Barlow', sans-serif; font-weight: 600; @@ -59,6 +61,7 @@ main .testemonials .flex .testemonial .name { } header { + height: 100vh; height: 100dvh; display: flex; flex-direction: column;