Skip to content

Commit

Permalink
Merge branch 'bugfix/layout-collapse'
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Mar 21, 2018
2 parents 9b4df63 + cec7a1d commit 759851a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Graphite/Web/Widget/Graphs.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ protected function getGraphsList()
'<img id="graphiteImg-'
. md5((string) $imageUrl->without('cachebuster'))
. "\" src=\"$imageUrl\" class=\"detach graphiteImg\" alt=\"\""
. " width=\"$this->width\" height=\"$this->height\">",
. " width=\"$this->width\" height=\"$this->height\""
. " style=\"min-width: {$this->width}px; min-height: {$this->height}px;\">",
$metricVariables,
$bestPos
];
Expand Down
1 change: 1 addition & 0 deletions public/css/module.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ div.images.monitored-object-detail-view {

img.graphiteImg {
width: 100%;
display: block;
}
}

Expand Down

0 comments on commit 759851a

Please sign in to comment.