Skip to content

Commit 9bf1c7a

Browse files
authored
Merge pull request #4995 from alphagov/update-breakpoint-custom-prop
Replace `--govuk-frontend-breakpoint-tablet` with `--govuk-breakpoint-tablet`
2 parents 81dff0f + 0408cec commit 9bf1c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javascripts/components/mobile-navigation-section.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class MobileNavigationSection extends Component {
4848
// Check if the section should be visible or not
4949
const breakPoint = getComputedStyle(
5050
document.documentElement
51-
).getPropertyValue('--govuk-frontend-breakpoint-tablet')
51+
).getPropertyValue('--govuk-breakpoint-tablet')
5252

5353
this.mql = window.matchMedia(`(min-width: ${breakPoint})`)
5454

0 commit comments

Comments
 (0)