Commit 5aacd0e0 authored by Henning Leutz's avatar Henning Leutz 🥋

fix: #988 - Picture Element provides all available sizes if you...

fix: #988 - Picture Element provides all available sizes if you build the picture yourself
parent 0c31b799
......@@ -422,7 +422,7 @@ class Utils
$media = '(max-width: '.$start.'px)';
if ($maxHeight) {
$media = '(max-width: '.$start.'px; max-height: '.$maxHeight.')';
$media = '(max-width: '.$start.'px; max-height: '.$maxHeight.'px)';
}
$imageUrl = $Image->getSizeCacheUrl($start, $maxHeight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment