Float graph to the right of the weights table.

This commit is contained in:
Michael Stenta 2019-07-29 12:00:15 -04:00
parent 1f1f8105a4
commit 6ad3ac254d
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
@media (min-width: 992px) {
.farm-report-graph {
float: right;
margin-left: 1em;
width: 50%;
float: left;
}
}

View File

@ -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');