diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-11-04 09:24:13 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-11-04 09:24:13 -0500 |
commit | 56ce3bc99735fe7ef7d4bf5f783c3d6f01a3a878 (patch) | |
tree | fbbe5f16ab4f7732648a9bc51828f42039ceddd4 /web/templates | |
parent | 8a3d2a7351afcef6b697bb79acbc36ed183078ce (diff) | |
parent | a0a3227345c0b02cdef9d230efa3c0f416a26855 (diff) | |
download | chat-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')
-rw-r--r-- | web/templates/channel.html | 7 |
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> |