summaryrefslogtreecommitdiffstats
path: root/web/templates/channel.html
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-11-04 09:24:13 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2015-11-04 09:24:13 -0500
commit56ce3bc99735fe7ef7d4bf5f783c3d6f01a3a878 (patch)
treefbbe5f16ab4f7732648a9bc51828f42039ceddd4 /web/templates/channel.html
parent8a3d2a7351afcef6b697bb79acbc36ed183078ce (diff)
parenta0a3227345c0b02cdef9d230efa3c0f416a26855 (diff)
downloadchat-56ce3bc99735fe7ef7d4bf5f783c3d6f01a3a878.tar.gz
chat-56ce3bc99735fe7ef7d4bf5f783c3d6f01a3a878.tar.bz2
chat-56ce3bc99735fe7ef7d4bf5f783c3d6f01a3a878.zip
Merge pull request #1288 from asaadmahmoodspin/plt-945
UI Improvements for multiple tickets
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>