We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b4df63 + cec7a1d commit 759851aCopy full SHA for 759851a
library/Graphite/Web/Widget/Graphs.php
@@ -261,7 +261,8 @@ protected function getGraphsList()
261
'<img id="graphiteImg-'
262
. md5((string) $imageUrl->without('cachebuster'))
263
. "\" src=\"$imageUrl\" class=\"detach graphiteImg\" alt=\"\""
264
- . " width=\"$this->width\" height=\"$this->height\">",
+ . " width=\"$this->width\" height=\"$this->height\""
265
+ . " style=\"min-width: {$this->width}px; min-height: {$this->height}px;\">",
266
$metricVariables,
267
$bestPos
268
];
public/css/module.less
@@ -15,6 +15,7 @@ div.images.monitored-object-detail-view {
15
16
img.graphiteImg {
17
width: 100%;
18
+ display: block;
19
}
20
21
0 commit comments