mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05: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 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue