mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-05-28 04:34:57 -04:00
Keep the images layout fixed even if some fail to load
This commit is contained in:
parent
6caea7a236
commit
cec7a1df43
2 changed files with 3 additions and 1 deletions
|
|
@ -254,7 +254,8 @@ abstract class Graphs extends AbstractWidget
|
|||
'<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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ div.images.monitored-object-detail-view {
|
|||
|
||||
img.graphiteImg {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue