Skip to content

Commit

Permalink
fix: css reset polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Aug 29, 2022
1 parent 1b13d20 commit cc0598d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silly-dancers-suffer.md
@@ -0,0 +1,5 @@
---
"@chakra-ui/css-reset": patch
---

Fix css in 100vh polyfill
4 changes: 3 additions & 1 deletion packages/components/css-reset/src/css-reset.tsx
Expand Up @@ -18,7 +18,9 @@ const vhPolyfill = `
}

@supports (height: 100lvh) {
--chakra-vh: 100lvh;
:root {
--chakra-vh: 100lvh;
}
}
`

Expand Down

1 comment on commit cc0598d

@vercel
Copy link

@vercel vercel bot commented on cc0598d Aug 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.