Skip to content

Commit

Permalink
Merge branch 'main' into update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrlpld authored Dec 8, 2024
2 parents f74e4fd + ecb8dff commit f5e1e8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lpld/templates/atoms/chevron-link/chevron-link.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
{{ word }}
{% else %}
{# Span wrapper to avoid line-break between icon and last word. #}
<span class="inline-flex items-center underline decoration-1 group-hover:decoration-2">
{{ word }}
{% heroicon_mini "chevron-right" class="transition ease-linear group-hover:translate-x-0.5 delay-[10] duration-[10]" %}
<span class="inline-block nowrap underline decoration-1 group-hover:decoration-2">
{{ word }}{% heroicon_mini "chevron-right" class="inline-block transition ease-linear group-hover:translate-x-0.5 delay-[10] duration-[10]" %}
</span>
{% endif %}
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion lpld/templates/atoms/chevron-link/chevron-link.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
context:
text: 'Listing link title'
text: 'This is a much longer link title to check linebreaks'
href: 'https://www.example.com'

0 comments on commit f5e1e8d

Please sign in to comment.