Browse Source

Ensure breakpoint in filter layout JS matches that used in CSS (#752)

pull/753/head
Paul Robert Lloyd 2 years ago committed by GitHub
parent
commit
9a23fa7b0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/frontend/controllers/filter_layout_controller.js

2
app/frontend/controllers/filter_layout_controller.js

@ -4,7 +4,7 @@ import { FilterToggle } from '../modules/filter_toggle.js'
export default class extends Controller {
connect () {
const filterToggle = new FilterToggle({
bigModeMediaQuery: '(min-width: 48.0625em)',
bigModeMediaQuery: '(min-width: 57.5625em)', // 921px (wide breakpoint)
closeButton: {
container: this.element.querySelector('.app-filter__header'),
text: 'Close'

Loading…
Cancel
Save