VIVO-369 NIHVIVO-2510 Expanded the width of the <ul> for class names. Very long classnames will still extend to a second line and throw off the alignment of the bar graph.

This commit is contained in:
cappadona 2011-05-13 18:03:20 +00:00
parent 270cb18f5e
commit 17b94a3a88
2 changed files with 4 additions and 4 deletions

View file

@ -78,7 +78,7 @@ ul#classes-in-classgroup {
margin-bottom: 10px; margin-bottom: 10px;
} }
ul#classes-in-classgroup.vis { ul#classes-in-classgroup.vis {
width: 44%; width: 55%;
border-right: 1px solid #DDE5E4; border-right: 1px solid #DDE5E4;
} }
ul#classes-in-classgroup li { ul#classes-in-classgroup li {
@ -106,7 +106,7 @@ ul#classes-in-classgroup .count-individuals {
/* VISUALIZATION ------> */ /* VISUALIZATION ------> */
#visual-graph { #visual-graph {
float: left; float: left;
width: 308px; width: 235px;
} }
#visual-graph h5 { #visual-graph h5 {
padding: 20px 0 12px 12px; padding: 20px 0 12px 12px;

View file

@ -149,9 +149,9 @@ var graphClassGroups = {
var height = values.length * 37; var height = values.length * 37;
// Create the canvas // Create the canvas
var r = Raphael("visual-graph", 300, height + 10); var r = Raphael("visual-graph", 225, height + 10);
var chart = r.g.hbarchart(0, 16, 300, height, [values], {type:"soft", singleColor:"#999"}); var chart = r.g.hbarchart(0, 16, 225, height, [values], {type:"soft", singleColor:"#999"});
// Was unable to append <a> within <svg> -- was always hidden and couldn't get it to display // Was unable to append <a> within <svg> -- was always hidden and couldn't get it to display
// so using jQuery click to add links // so using jQuery click to add links