Skip to content

Commit

Permalink
TASK: Use AnimatedArrow on BentoBoxes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrijkiltau committed Feb 21, 2024
1 parent f548b9b commit 09bf489
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ prototype(Neos.Presentation:BentoBoxes.Box) < prototype(Neos.Fusion:Component) {

<Neos.Presentation:Paragraph
@if={props.link} display="cta-xl" class="mt-8 2xl:mt-14 text-md mdl:text-lg">
{props.linkLabel} <Neos.Presentation:Icon name="pixel-chevron-right" class="inline-block h-6" />
{props.linkLabel} <Neos.Presentation:Atom.AnimatedArrow />
</Neos.Presentation:Paragraph>
</Neos.Fusion:Tag>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@
--bento-boxes-column-width: 50%;
width: var(--bento-boxes-column-width);
}

.n-paragraph svg {
@apply inline-block;
}

&:hover .n-paragraph svg > path:first-child {
@apply scale-x-100;
}
}

@screen md {
Expand Down
Loading

0 comments on commit 09bf489

Please sign in to comment.