Increase sidebar width, back to 350px
This commit is contained in:
parent
f45437f836
commit
653f7c0d74
2 changed files with 3 additions and 3 deletions
|
@ -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});
|
||||
};
|
||||
|
|
|
@ -12,6 +12,6 @@ $lightgrey: #EEE;
|
|||
$darkgrey: #888;
|
||||
$hovercolor: 20%;
|
||||
$headerHeight: 55px;
|
||||
$sidebarWidth: 300px;
|
||||
$sidebarWidth: 350px;
|
||||
$keyline: 1px solid $lightgrey;
|
||||
$border-radius: 3px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue