changeset 12:947df63942ed

Added a pixel of padding for background of code sections so that single-pixel slivers don't appear.
author Atul Varma <varmaa@toolness.com>
date Tue, 06 Jan 2009 01:49:23 -0800
parents d0e32e673d94
children ce482c9cbbe0
files thingy.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/thingy.js	Tue Jan 06 01:45:13 2009 -0800
+++ b/thingy.js	Tue Jan 06 01:49:23 2009 -0800
@@ -67,7 +67,7 @@
       code.text(this.code);
       $("#content").append(code);
 
-      var docsSurplus = docs.height() - code.height();
+      var docsSurplus = docs.height() - code.height() + 1;
       if (docsSurplus > 0)
         code.css({paddingBottom: docsSurplus + "px"});