Skip to content

Commit 189ac24

Browse files
committed
fix slight spacing issue in list's empty value
1 parent 86f2722 commit 189ac24

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Supports SHA-256 (default) and SHA-512 algorithms
1919
- Output formats: hexadecimal (default) or base64 (e.g., `sha256-base64`)
2020
- See the [function documentation](https://sql-page.com/functions.sql?function=hmac) for detailed examples
21+
- Fixed a slight spacing issue in the list components empty value display.
2122

2223
## v0.37.1
2324
- fixed decoding of UUID values

sqlpage/templates/list.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
{{#if (eq @row_index 0)}}
6868
<a href="{{default empty_link '#'}}" class="list-group-item list-group-item-action">
6969
<div class="row align-items-center">
70-
<div class="col text-truncate">
70+
<div class="col {{#if ../wrap}}text-wrap{{else}}text-truncate{{/if}}">
7171
{{default empty_title 'No item'}}
72-
<div class="d-block text-muted {{#if ../wrap}}text-wrap{{else}}text-truncate{{/if}} mt-n1">
72+
<div class="text-muted text-truncate{{#if ../compact}} mt-n1{{/if}}{{#if ../wrap}} text-wrap{{/if}}">
7373
{{~empty_description~}}
7474
{{~#if empty_description_md~}}
7575
<div style="margin-bottom: -1rem">{{{markdown empty_description_md}}}</div>

0 commit comments

Comments
 (0)