summaryrefslogtreecommitdiffstats
path: root/web/templates/channel.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/channel.html')
-rw-r--r--web/templates/channel.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/templates/channel.html b/web/templates/channel.html
index 63fe38587..aabd01ecb 100644
--- a/web/templates/channel.html
+++ b/web/templates/channel.html
@@ -37,7 +37,12 @@
<script>
window.setup_channel_page({{ .Props }});
$('body').tooltip( {selector: '[data-toggle=tooltip]'} );
- $('.modal-body').css('max-height', $(window).height() - 200);
+ if($(window).height() > 1200){
+ $('.modal-body').css('max-height', 1000);
+ }
+ else {
+ $('.modal-body').css('max-height', $(window).height() - 200);
+ }
$('.modal-body').perfectScrollbar();
</script>
</body>