Float graph to the right of the weights table.
This commit is contained in:
parent
1f1f8105a4
commit
6ad3ac254d
|
@ -1,6 +1,7 @@
|
|||
@media (min-width: 992px) {
|
||||
.farm-report-graph {
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ function farm_livestock_weight_report(FarmAsset $farm_asset) {
|
|||
);
|
||||
|
||||
// Add graphs to output.
|
||||
$output .= '<div class="farm-report-graphs">' . implode('', $graph_markup) . '</div>';
|
||||
$output = '<div class="farm-report-graphs">' . implode('', $graph_markup) . '</div>' . $output;
|
||||
|
||||
// Add JS and CSS to build the graphs.
|
||||
drupal_add_js($settings, 'setting');
|
||||
|
|
Loading…
Reference in New Issue