Skip to content

Commit 7632d37

Browse files
committed
Added "narrow" attribute to "button"
Sets .btn-icon class, which trims horizontal padding. See https://tabler.io/docs/components/buttons#icon-buttons
1 parent 16b4cb0 commit 7632d37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlpage/templates/button.handlebars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{{~#if ../size}} btn-{{../size}}{{/if}}
1111
{{~#if outline}} btn-outline-{{outline}}{{/if}}
1212
{{~#if ../shape}} btn-{{../shape}}{{/if}}
13+
{{~#if narrow}} btn-icon{{/if}}
1314
{{~#if space_after}} me-auto{{/if}}"
1415
{{~#if id}} id="{{id}}"{{/if}}
1516
{{~#if target}} target="{{target}}"{{/if}}

0 commit comments

Comments
 (0)