Skip to content

Commit

Permalink
SW-18907 - Don't restrict shopping world image height in row mode
Browse files Browse the repository at this point in the history
  • Loading branch information
philipreinken committed Jul 10, 2017
1 parent 087c1b0 commit 8a5643f
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 8a5643f

Please sign in to comment.