Skip to content

Commit

Permalink
Merge pull request #5207 in SW/shopware from sw-18907/5.2/fix-squashe…
Browse files Browse the repository at this point in the history
…d-emotion-images to 5.2

* commit '8a5643f38a4441347dc0d488cf87095466dd0702':
  SW-18907 - Don't restrict shopping world image height in row mode
  • Loading branch information
Phil23 committed Jul 10, 2017
2 parents 087c1b0 + 8a5643f commit 2c3bf38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<source sizes="{$itemSize}" srcset="{$srcSet}">

{* Fallback *}
<img src="{$baseSource}" srcset="{$retinaBaseSource} 2x"{if $Data.title} alt="{$Data.title|escape}"{/if} />
<img src="{$baseSource}" srcset="{$retinaBaseSource} 2x" class="banner--image-src"{if $Data.title} alt="{$Data.title|escape}"{/if} />
</picture>
{/block}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,11 @@ body.emotion--preview {
left: 0; top: 0;
float: none;
}

.banner--image-src {
max-height: none;
width: 100%;
}
}

.banner--image {
Expand Down

0 comments on commit 2c3bf38

Please sign in to comment.