Fixed breakpoint unit for media queries in JS
This commit is contained in:
parent
462bf384ff
commit
1f7a496234
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -245,7 +245,7 @@
|
|||
</script>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/bundle.13a4f30d.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.56ea9cef.min.js' | url }}"></script>
|
||||
{% for script in config.extra_javascript %}
|
||||
{{ script | script_tag }}
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -131,8 +131,8 @@ const keyboard$ = watchKeyboard()
|
|||
|
||||
/* Set up media observables */
|
||||
const viewport$ = watchViewport()
|
||||
const tablet$ = watchMedia("(min-width: 960px)")
|
||||
const screen$ = watchMedia("(min-width: 1220px)")
|
||||
const tablet$ = watchMedia("(min-width: 60em)")
|
||||
const screen$ = watchMedia("(min-width: 76.25em)")
|
||||
const print$ = watchPrint()
|
||||
|
||||
/* Retrieve search index, if search is enabled */
|
||||
|
|
|
|||
Loading…
Reference in New Issue