[ARVADOS] updated: 5a016cb9182b979b94df49c8b20856853541396e

git at public.curoverse.com git at public.curoverse.com
Sat Feb 1 15:19:08 EST 2014


Summary of changes:
 .../workbench/app/assets/javascripts/provenance.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

       via  5a016cb9182b979b94df49c8b20856853541396e (commit)
      from  a05354759de985f245d7e27b8c9b471b5e6d61bc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5a016cb9182b979b94df49c8b20856853541396e
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Sat Feb 1 15:19:57 2014 -0500

    Fixed bug in vertical scrolling by setting padding to size of graph or max size instead of dynamic size based on screen position.

diff --git a/apps/workbench/app/assets/javascripts/provenance.js b/apps/workbench/app/assets/javascripts/provenance.js
index 630f6b5..bacbfd1 100644
--- a/apps/workbench/app/assets/javascripts/provenance.js
+++ b/apps/workbench/app/assets/javascripts/provenance.js
@@ -21,7 +21,13 @@ function provenance_sizing_fixup(divId, svgId) {
         height = String(h) + "px";
     }
     a.style.height = height;
-    b.style.paddingTop = height;
+
+    if (gh < max) {
+        b.style.paddingTop = String(gh) + "px";
+    }
+    else {
+        b.style.paddingTop = String(max) + "px";
+    }
 
     w = window.innerWidth - 25;
     a.style.width = String(w) + "px";

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list