diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-08 10:52:01 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-08 10:52:01 +0800 |
| commit | cffe2f971ee2cb1606a0fbee5c8af50defa53adf (patch) | |
| tree | bceec837b444c8ff05ca799b26c507fa0d42d1bf | |
| parent | c57c177d2c8af50ce15da86e67d6f82bd12b8367 (diff) | |
refactor: use "0" instead of "..." as action button placeholder
Former-commit-id: 7ecccf4ca2a06b7ca28828ef066b2809c7260815
| -rw-r--r-- | layouts/_partials/components/toggle-button.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/components/toggle-button.html b/layouts/_partials/components/toggle-button.html index 29e3440e..edc0e930 100644 --- a/layouts/_partials/components/toggle-button.html +++ b/layouts/_partials/components/toggle-button.html @@ -2,7 +2,7 @@ {{ $buttonId := default (printf "%s-toggle" $id) .buttonId }} {{ $sectionId := default (printf "%s-section" $id) .sectionId }} {{ $countId := default (printf "%s-count" $id) .countId }} -{{ $count := default "..." .count }} +{{ $count := default "0" .count }} {{ $group := .group }} <button class="dark:invert flex items-center justify-center gap-1.5 min-w-12 h-12 px-2 border-none bg-transparent text-gray-600 cursor-pointer relative transition-all duration-200 hover:bg-black/5 hover:rounded-lg group" |
