diff --git a/lib/sidebar.js b/lib/sidebar.js index 5092079..ad1521d 100644 --- a/lib/sidebar.js +++ b/lib/sidebar.js @@ -22,7 +22,7 @@ define([], function () { if (sidebar.classList.contains("hidden")) return 0 - var small = window.matchMedia("(max-width: 60em)") + var small = window.matchMedia("(max-width: 630pt)") return small.matches ? 0 : sidebar.offsetWidth } diff --git a/scss/main.scss b/scss/main.scss index 6cb3bbf..59c0bec 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -3,9 +3,9 @@ @import '_leaflet'; @import '_leaflet.label'; -$minscreenwidth: 60em; +$minscreenwidth: 630pt; $sidebarwidth: 420pt; -$sidebarwidthsmall: 360pt; +$sidebarwidthsmall: 320pt; $buttondistance: 12pt; @import '_sidebar';