Skip to content

Commit 2013b59

Browse files
committed
fix: missing c-bolt-button--icon-only CSS class that doesn't appear to have ever been implemented on the Button twig template
1 parent 94cb63f commit 2013b59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/bolt-button/src/button.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
style in styleOptions ? "c-bolt-button--#{style}" : "c-bolt-button--#{schema.properties.style.default}",
6262
transform in transformOptions and transform != "none" ? "c-bolt-button--#{transform}": "",
6363
align in alignOptions ? baseClass ~ "--" ~ align : "",
64+
iconOnly ? "c-bolt-button--icon-only": "",
6465
] %}
6566

6667
{% if disabled %}

0 commit comments

Comments
 (0)