sidebar: reduce breakpoint to 630pt, reduce width to 320pt

This commit is contained in:
Nils Schneider 2015-04-15 15:28:21 +02:00
parent a4fdf39352
commit 95a0f8974b
2 changed files with 3 additions and 3 deletions

View file

@ -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
}

View file

@ -3,9 +3,9 @@
@import '_leaflet';
@import '_leaflet.label';
$minscreenwidth: 60em;
$minscreenwidth: 630pt;
$sidebarwidth: 420pt;
$sidebarwidthsmall: 360pt;
$sidebarwidthsmall: 320pt;
$buttondistance: 12pt;
@import '_sidebar';