We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda7763 commit 1445b7fCopy full SHA for 1445b7f
packages/components/bolt-headline/src/_typography.twig
@@ -43,7 +43,12 @@
43
iconPosition ? baseClass ~ "--icon-position-" ~ iconPosition : ""
44
] %}
45
46
-{% if url and icon is not defined %}
+{#
47
+ If this is a link, add a right chevron icon by default. There are only two ways to opt out:
48
+ - Set 'icon: false' to explicitly have no icon
49
+ - Set a different icon to use instead of the default
50
+#}
51
+{% if url and icon is not sameas(false) and icon.name is empty %}
52
{% set icon = icon | default({}) | merge({
53
name: "chevron-right"
54
}) %}
0 commit comments