Fixed image display

master
Mark Moffat 2019-12-30 17:21:53 +10:30
parent 03573129b3
commit af7c38aee7
1 changed files with 11 additions and 13 deletions

View File

@ -142,7 +142,6 @@
<h2>{{ @root.__ "Product images" }}</h2> <h2>{{ @root.__ "Product images" }}</h2>
{{#if images}} {{#if images}}
<div class="row"> <div class="row">
<div class="col-sm-10 offset-sm-2">
{{#each images}} {{#each images}}
<div class="col-sm-3"> <div class="col-sm-3">
<p> <p>
@ -153,11 +152,10 @@
<a data-id="{{../this.path}}" class="set-as-main-image btn btn-outline-success">{{ @root.__ "Set as main image" }}</a> <a data-id="{{../this.path}}" class="set-as-main-image btn btn-outline-success">{{ @root.__ "Set as main image" }}</a>
{{/ifCond}} {{/ifCond}}
</p> </p>
<img src="{{this.path}}" class="product-main-image img-responsive"> <img src="{{this.path}}" class="product-main-image img-fluid">
</div> </div>
{{/each}} {{/each}}
</div> </div>
</div>
{{else}} {{else}}
<h4 class="text-warning">{{ @root.__ "No images have been uploaded for this product" }}</h4> <h4 class="text-warning">{{ @root.__ "No images have been uploaded for this product" }}</h4>
{{/if}} {{/if}}