mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-03 19:00:17 +03:00
Tweak styling for max-height of sidenav
This commit is contained in:
parent
e0dddbc5de
commit
124ae8c2c8
|
@ -200,11 +200,11 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// Dynamically force sidenav to no higher than browser window
|
// 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(){
|
$(function(){
|
||||||
$(window).resize(function(){
|
$(window).resize(function(){
|
||||||
$('.side-nav').css('max-height', window.innerHeight - 125);
|
$('.side-nav').css('max-height', window.innerHeight - 130);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user