diff --git a/Resources/Private/Fusion/Content/Section/Spotlight.Item.fusion b/Resources/Private/Fusion/Content/Section/Spotlight.Item.fusion index f5c65915..8366d601 100644 --- a/Resources/Private/Fusion/Content/Section/Spotlight.Item.fusion +++ b/Resources/Private/Fusion/Content/Section/Spotlight.Item.fusion @@ -52,8 +52,6 @@ prototype(Sitegeist.NeosTemplate.Spectral:Content.Section.Spotlight.Item) < prot alignment = ${q(node).property('alignment')} - - renderer = afx`
@@ -64,14 +62,7 @@ prototype(Sitegeist.NeosTemplate.Spectral:Content.Section.Spotlight.Item) < prot

{props.text}

+
` - renderer.@process.wrapInAnchor = Neos.Fusion:Tag { - tagName = 'a' - attributes.href = ${props.href} - attributes.target = '_blank' - attributes.target.@if.ifChecked = ${props.targetgi} - content = ${value} - @if.hasAnchor = ${props.href} - } } diff --git a/Resources/Public/Theme/assets/css/main.css b/Resources/Public/Theme/assets/css/main.css index 5486fdad..fc6f5153 100644 --- a/Resources/Public/Theme/assets/css/main.css +++ b/Resources/Public/Theme/assets/css/main.css @@ -2165,6 +2165,13 @@ button:disabled, display: -webkit-flex; display: -ms-flex; display: flex; + position: relative; +} +.spotlight .spotlink { + position: absolute; + width: 100%; + height: 100%; + z-index: 999; } .spotlight .image { -moz-order: 1;