public_html/skins

Aleksander Machniak machniak at kolabsys.com
Wed Sep 26 13:46:05 CEST 2012


 public_html/skins/default/ui.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c25674fa3c27b5ba8b8f726b54e6db27dcbf9d75
Author: Aleksander Machniak <alec at alec.pl>
Date:   Wed Sep 26 13:45:33 2012 +0200

    Fix UI resize - don't display scrollbar in #taskcontent

diff --git a/public_html/skins/default/ui.js b/public_html/skins/default/ui.js
index 9332051..c0dc901 100644
--- a/public_html/skins/default/ui.js
+++ b/public_html/skins/default/ui.js
@@ -152,8 +152,8 @@ function ui_resize()
 {
   var h = $('#content').height();
   // resize UI elements
-  if (h > 100) {
-    $('#taskcontent').height(h - 22);
+  if (h - 22 > 380) {
+    $('#taskcontent').css({'min-height': h - 22});
   }
 };
 





More information about the commits mailing list