Skip to content

Commit

Permalink
feat(layout): use min-height 100% instead of height 100vh to prevent …
Browse files Browse the repository at this point in the history
…scroll issues
  • Loading branch information
stephanLeece committed Aug 30, 2024
1 parent f4dfe96 commit b6985d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentful/f36-layout",
"version": "5.0.0-alpha.14",
"version": "5.0.0-alpha.15",
"description": "Forma 36: Layout component",
"scripts": {
"build": "tsup"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/layout/src/Layout.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getLayoutStyles = ({
}) => ({
root: css({
width: '100%',
height: '100vh',
minHeight: '100%',
}),
mainContainer: css(getLayoutMaxWidthStyles({ variant, withBoxShadow }), {
width: '100%',
Expand Down

0 comments on commit b6985d6

Please sign in to comment.