Skip to content

Commit

Permalink
[TASK] make logo carousel linked logos same size as non linked logos. (
Browse files Browse the repository at this point in the history
…#409)

* [FEATURE] make logo carousel linked logos same size as not linked logos.

* [FEATURE] make logo carousel linked logos same size as not linked logos.
  • Loading branch information
Marvin Basel authored and dmh committed Jun 7, 2018
1 parent d9811ee commit 788496b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
</f:link.typolink>
</f:then>
<f:else>
<f:render section="renderLogo" arguments="{
<div class="logo-carousel__wrapper">
<f:render section="renderLogo" arguments="{
logoUid: logo.uid,
alt: logo.alternative,
title: logo.title,
maxWidth: '{f:if(condition: data.imagewidth, then: data.imagewidth, else: settings.defaultMaxWidth)}',
maxHeight: '{f:if(condition: data.imageheight, then: data.imageheight, else: settings.defaultMaxHeight)}'
}" />
</div>
</f:else>
</f:if>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
padding: 10px 30px;
}

.logo-carousel__wrapper,
.logo-carousel__link {
height: 100%;

Expand Down

0 comments on commit 788496b

Please sign in to comment.