sidebar: reduce breakpoint to 630pt, reduce width to 320pt
This commit is contained in:
parent
a4fdf39352
commit
95a0f8974b
@ -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 @@
|
|||||||
@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';
|
||||||
|
Loading…
Reference in New Issue
Block a user