Increase sidebar width, back to 350px

This commit is contained in:
Aaron Lidman 2013-11-18 16:24:52 -08:00
parent f45437f836
commit 653f7c0d74
2 changed files with 3 additions and 3 deletions

View file

@ -201,7 +201,7 @@ $(document).ready(function () {
page.pushstate = function(path) {
$("#content").addClass("overlay-sidebar");
map.invalidateSize({pan: false})
.panBy([-300, 0], {animate: false});
.panBy([-350, 0], {animate: false});
OSM.loadSidebarContent(path);
page.load();
};
@ -217,7 +217,7 @@ $(document).ready(function () {
};
page.unload = function() {
map.panBy([300, 0], {animate: false});
map.panBy([350, 0], {animate: false});
$("#content").removeClass("overlay-sidebar");
map.invalidateSize({pan: false});
};

View file

@ -12,6 +12,6 @@ $lightgrey: #EEE;
$darkgrey: #888;
$hovercolor: 20%;
$headerHeight: 55px;
$sidebarWidth: 300px;
$sidebarWidth: 350px;
$keyline: 1px solid $lightgrey;
$border-radius: 3px;