Tweak styling for max-height of sidenav

This commit is contained in:
Tom Christie 2013-06-27 12:58:38 +01:00
parent e0dddbc5de
commit 124ae8c2c8

View File

@ -200,11 +200,11 @@
});
// Dynamically force sidenav to no higher than browser window
$('.side-nav').css('max-height', window.innerHeight - 125);
$('.side-nav').css('max-height', window.innerHeight - 130);
$(function(){
$(window).resize(function(){
$('.side-nav').css('max-height', window.innerHeight - 125);
$('.side-nav').css('max-height', window.innerHeight - 130);
});
});
</script>