Skip to content

Commit 90a9862

Browse files
committed
Fix single image rendering (responsive)
1 parent ff64a48 commit 90a9862

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WebApp/BootstrapTheme/ImageCarouselRenderer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public function renderChildren() {
1818
// Placeholder image or nothing?
1919
} else if (count($images) == 1) {
2020
// No navigation - just a simple image
21+
$images[0]->image->addClass('img-fluid');
2122
$rc = $this->theme->renderComponent($images[0]->image);
2223
} else if (count($images) > 1) {
2324
$id = $this->component->getId().'-carousel';

0 commit comments

Comments
 (0)