resize timeline for small screens
This commit is contained in:
parent
11954a3ef2
commit
3d62d36962
|
@ -278,6 +278,16 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
|||
}
|
||||
} else {
|
||||
$(document.body).removeClass("tight");
|
||||
$('#timeline').each(function() {
|
||||
var ol = $(this).offset().left;
|
||||
if (ol < 3) {
|
||||
var dec = 3 - ol;
|
||||
$(this).css({
|
||||
'margin-left': (dec - 30) + 'px',
|
||||
'width': (230 - dec) + 'px'
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
$(window).resize(onResize);
|
||||
|
|
1
todo
1
todo
|
@ -74,6 +74,7 @@ hooks do not always disappear
|
|||
don't show team leaders activity in mod logs
|
||||
LilaError['[analysis] fred65 already analyses ueogn4fr, won't process ueogn4fr']
|
||||
1024 compat (timeline) and http://ft.trillian.im/785abe041074fd64135ab3318aff1ec8767ab03d/6gZ41ZXugNdywSLY0JSQiVm7y6aeh.jpg
|
||||
white advantage rounding http://en.lichess.org/analyse/fqzfbgll
|
||||
|
||||
DEPLOY p21
|
||||
----------
|
||||
|
|
Loading…
Reference in a new issue