Skip to content

Commit

Permalink
Fix on some browsers
Browse files Browse the repository at this point in the history
- add vh as fallback for dvh
- force light color scheme to fix css on kiwi browser
  • Loading branch information
alpe12 committed Oct 15, 2023
1 parent 3885309 commit 4b9e11c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions advice-generator-app/src/css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:root{ color-scheme: only light}

* {
margin: 0;
padding: 0;
Expand All @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions sunnyside-agency-landing-page/src/css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:root{ color-scheme: only light}

html {
font-family: 'Barlow', sans-serif;
font-weight: 600;
Expand Down Expand Up @@ -59,6 +61,7 @@ main .testemonials .flex .testemonial .name {
}

header {
height: 100vh;
height: 100dvh;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 4b9e11c

Please sign in to comment.