Improve concept teaser layout
This commit is contained in:
@@ -7,17 +7,12 @@
|
||||
title="{concept.name}"
|
||||
class="flex flex-col">
|
||||
<f:render partial="TeaserImage" arguments="{image: concept.teaserImage}"/>
|
||||
<f:if condition="{concept.code}">
|
||||
<div class="bg-concept-{concept.code} text-white uppercase leading-none p-2">
|
||||
{concept.name}
|
||||
</div>
|
||||
</f:if>
|
||||
<div class="flex-1 py-4 px-2 bg-white border-l border-r border-gray-200">
|
||||
{concept.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()}
|
||||
</div>
|
||||
<button class="button w-full">
|
||||
{f:translate(key: 'tx_eptheme.label.teaserbutton.default', extensionName: 'ep_theme')}
|
||||
</button>
|
||||
<div class="bg-concept-{concept.code} text-white uppercase leading-none p-2">
|
||||
{concept.name}
|
||||
</div>
|
||||
</f:link.typolink>
|
||||
</f:section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user