}
var row = $("<tr class='turn'/>");
- row.append("<td class='direction i" + direction + "'> ");
+ row.append("<td><div class='direction i" + direction + "'/></td> ");
row.append("<td class='instruction'>" + instruction);
row.append("<td class='distance'>" + dist);
border-collapse: separate;
}
-td.direction {
- background-image: image-url('routing-sprite.png');
- width: 20px; height: 20px;
- background-repeat: no-repeat;
+div.direction {
+ background-image: image-url('routing-sprite.png');
+ width: 20px;
+ height: 20px;
+ background-repeat: no-repeat;
}
@for $i from 1 through 17 {
-td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
+div.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; }
}
p#routing_summary {
}
td.instruction, td.distance {
- padding-top: 0;
+ padding-top: $lineheight/5;
+ padding-bottom: $lineheight/5;
border-bottom: 1px solid #DDD;
}
td.distance {