mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
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) {
|
@media (min-width: 992px) {
|
||||||
.farm-report-graph {
|
.farm-report-graph {
|
||||||
|
float: right;
|
||||||
|
margin-left: 1em;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,7 @@ function farm_livestock_weight_report(FarmAsset $farm_asset) {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add graphs to output.
|
// 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.
|
// Add JS and CSS to build the graphs.
|
||||||
drupal_add_js($settings, 'setting');
|
drupal_add_js($settings, 'setting');
|
||||||
|
|
Loading…
Reference in a new issue