Skip to content
Snippets Groups Projects
Commit 95a0f897 authored by Nils Schneider's avatar Nils Schneider
Browse files

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

parent a4fdf393
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ define([], function () { ...@@ -22,7 +22,7 @@ define([], function () {
if (sidebar.classList.contains("hidden")) if (sidebar.classList.contains("hidden"))
return 0 return 0
var small = window.matchMedia("(max-width: 60em)") var small = window.matchMedia("(max-width: 630pt)")
return small.matches ? 0 : sidebar.offsetWidth return small.matches ? 0 : sidebar.offsetWidth
} }
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
@import '_leaflet'; @import '_leaflet';
@import '_leaflet.label'; @import '_leaflet.label';
$minscreenwidth: 60em; $minscreenwidth: 630pt;
$sidebarwidth: 420pt; $sidebarwidth: 420pt;
$sidebarwidthsmall: 360pt; $sidebarwidthsmall: 320pt;
$buttondistance: 12pt; $buttondistance: 12pt;
@import '_sidebar'; @import '_sidebar';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment