Minor corrections
authorveltr
Fri, 27 Jan 2012 15:57:14 +0100
changeset 477 1c4894a4de72
parent 476 c8338a96f94c
child 478 260f3438cb78
Minor corrections
src/ldt/ldt/static/ldt/css/front_common.css
src/ldt/ldt/static/ldt/js/Ldt_front_sparkline.js
--- a/src/ldt/ldt/static/ldt/css/front_common.css	Fri Jan 27 15:49:21 2012 +0100
+++ b/src/ldt/ldt/static/ldt/css/front_common.css	Fri Jan 27 15:57:14 2012 +0100
@@ -132,6 +132,7 @@
 .img_media {
     background: #000000; border: 2px solid #ffffff; padding: 1px;
 }
+
 .img_and_overlay {
     float: left; position: relative;
 }
@@ -141,7 +142,11 @@
 }
 
 .graph_annotation {
-    float: left; height: 20px; margin: 0 4px;
+    float: left; height: 20px; margin: 0;
+}
+
+.overlay .graph_annotation {
+    margin-left: 4px;
 }
 
 .polemics {
--- a/src/ldt/ldt/static/ldt/js/Ldt_front_sparkline.js	Fri Jan 27 15:49:21 2012 +0100
+++ b/src/ldt/ldt/static/ldt/js/Ldt_front_sparkline.js	Fri Jan 27 15:57:14 2012 +0100
@@ -2,7 +2,7 @@
     $('.graph_annotation').each(function(_i) {
         var _values = this.innerHTML.split(','),
             _nb = _values.length,
-            _width = $(this).parent().parent().parent().width() - 8,
+            _width = $(this).parent().parent().parent().width() - 6,
             _height = $(this).height(),
             _max = _values.reduce(function(_a,_b) {
                 return Math.max(_a,_b);