summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-26 11:45:33 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-11-26 13:29:44 (GMT)
commit5157a2520ec855602ec17fd51f256e03134c5bb4 (patch)
tree153f876f7a54d4d8f52a8c5983516ef6c2b6cb9b
parent0771e7815392143a81967ae3a8bac84db68bee57 (diff)
downloadkolab-wap-5157a2520ec855602ec17fd51f256e03134c5bb4.tar.gz
Fix UI resize - don't display scrollbar in #taskcontent
-rw-r--r--public_html/skins/default/ui.js4
1 files changed, 2 insertions, 2 deletions
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});
}
};