mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-03 02:35:52 +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
|
||||
$('.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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user