mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
Enlarge mobile matchMedia max-width
Closes #3941 It now matches the mobile MQ in CSS - https://github.com/TryGhost/Ghost/blob/master/core/client/assets/sass/components/navigation.scss#L163
This commit is contained in:
parent
e00843851e
commit
53a4a6a010
@ -1,4 +1,4 @@
|
||||
var mobileQuery = matchMedia('(max-width: 800px)'),
|
||||
var mobileQuery = matchMedia('(max-width: 900px)'),
|
||||
|
||||
responsiveAction = function responsiveAction(event, mediaCondition, cb) {
|
||||
if (!window.matchMedia(mediaCondition).matches) {
|
||||
|
Loading…
Reference in New Issue
Block a user