Skip to content

Commit

Permalink
fix text rendering (#16)
Browse files Browse the repository at this point in the history
space missing between "of" and total page number, due to leptos string handling during rendering
  • Loading branch information
Kriechi authored Aug 7, 2024
1 parent dc4ed2a commit 7cc3abb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/list/pagination.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ pub fn Pagination(
</select>
</div>

<p class="text-sm text-gray-600 dark:text-gray-400">of {total_pages}</p>
<p class="text-sm text-gray-600 dark:text-gray-400">
"of " {total_pages}
</p>
</div>

</Show>
Expand Down

0 comments on commit 7cc3abb

Please sign in to comment.