Skip to content

Commit af33665

Browse files
author
Luke Bowerman
authored
Fix Page sizing (#1635)
1 parent 024550c commit af33665

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/components/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535

3636
### Fixed
3737

38+
- `Page` fix size to use `%` instead of `vh/vw`
3839
- `FieldCheckboxGroup` now sets `border-color` of child checkboxes to "critical" when validationMessage.type is equal to 'error'
3940
- `Select` on a mobile device or with "tap to click" on a touch pad reopens immediately after clicking on an option
4041
- `Select` options not being announced in a screen reader on keyboard navigation

packages/components/src/Layout/Semantics/Page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ import styled from 'styled-components'
2828
import { Layout } from './Layout'
2929

3030
export const Page = styled(Layout)`
31-
height: 100vh;
32-
width: 100vw;
31+
height: 100%;
32+
width: 100%;
3333
`

0 commit comments

Comments
 (0)