From 358af9cb9685f5c1cd34e89ba2431fb5f0d2116b Mon Sep 17 00:00:00 2001 From: Antonin Hildebrand Date: Tue, 18 Jan 2011 17:47:03 +0100 Subject: [PATCH] hopefully last fixes to twitter praises --- css/site.css | 4 ++++ js/code.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/css/site.css b/css/site.css index ec09867..0bd8f44 100644 --- a/css/site.css +++ b/css/site.css @@ -270,6 +270,10 @@ html.support { height: 100%; } +html.support #footer { + display: none; +} + html.support #main { position: fixed; left: 0; diff --git a/js/code.js b/js/code.js index 7c3c561..ecfeca3 100644 --- a/js/code.js +++ b/js/code.js @@ -4407,7 +4407,8 @@ $.fn.tweet = function(options) { var container = $("#main .container"); var availWidth = 950 - 300; var availHeight = container.height() - 80; - if (availHeight>800) availHeight = 800; + if (availHeight<200) availHeight = 200; + if (availHeight>600) availHeight = 600; var gen = function(item) { index++;