Skip to content

Commit c677023

Browse files
committed
center table descriptions
1 parent aa3149d commit c677023

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Fix a bug where the table component would not format numbers if sorting was not enabled.
66
- Fix a bug with date sorting in the table component.
7-
7+
- Center table descriptions.
88

99
## 0.33.0 (2025-02-15)
1010

sqlpage/templates/table.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{{~#if number_format_digits}} data-number_format_digits="{{number_format_digits}}"{{/if~}}
2727
{{~#if currency}} data-currency="{{currency}}"{{/if~}}
2828
>
29-
{{#if description}}<caption>{{description}}</caption>{{/if}}
29+
{{#if description}}<caption class="text-center text-muted">{{description}}</caption>{{/if}}
3030
{{#each_row}}
3131
{{#if (eq @row_index 0)}}
3232
<thead>

0 commit comments

Comments
 (0)