move side menu on tight layout

pull/83/head
Thibault Duplessis 2013-07-26 16:35:34 +02:00
parent 1c912cbf92
commit 29f32692a0
2 changed files with 2 additions and 7 deletions

View File

@ -388,6 +388,7 @@ var storage = {
if ($('body > div.content').offset().top > 70) {
$('body > div.content').css('marginTop', '0px');
}
$('#site_header .side_menu').prependTo('div.content_box:first');
} else {
$(document.body).removeClass("tight");
$('#timeline, div.lichess_goodies div.box, div.lichess_chat, div.under_chat').each(function() {
@ -405,6 +406,7 @@ var storage = {
$('#featured_game').each(function() {
$(this).children().toggle($(this).width() == 224);
});
$('div.content_box .side_menu').appendTo('#site_header');
}
}
$(window).resize(onResize);

7
todo
View File

@ -55,10 +55,3 @@ customize piece images
opera bug http://postimg.org/image/zcv8hse8n/full/
customize sound notifications http://imgur.com/70WVyb5
opera issue http://en.lichess.org/forum/lichess-feedback/new-game-wont-show-on-games-list-opera#1
embedded games links http://2ls.ru/chessonline/
filter ranges http://en.lichess.org/forum/lichess-feedback/my-proposed-changes-with-filter-window#1
deploy
------
db.config.update({filter:{$exists:1}},{$unset:{filter:1}},{multi:1})
db.config_anon.update({filter:{$exists:1}},{$unset:{filter:1}},{multi:1})