diff --git a/src/components/site/PostList.tsx b/src/components/site/PostList.tsx index 91a0ed4b..5fd4e03d 100644 --- a/src/components/site/PostList.tsx +++ b/src/components/site/PostList.tsx @@ -61,14 +61,16 @@ export default function PostList({ isLoading={posts.isFetchingNextPage} aria-label="load more" > - {t("load more", { - ns: "site", - name: t( - "post" + - (posts.data?.pages[0].count - currentLength > 1 ? "s" : ""), - ), - count: posts.data?.pages[0].count - currentLength, - })} + + {t("load more", { + ns: "site", + name: t( + "post" + + (posts.data?.pages[0].count - currentLength > 1 ? "s" : ""), + ), + count: posts.data?.pages[0].count - currentLength, + })} + )} diff --git a/src/css/tailwind.css b/src/css/tailwind.css index a9e4e212..416d247f 100644 --- a/src/css/tailwind.css +++ b/src/css/tailwind.css @@ -125,6 +125,8 @@ a { border-bottom-color: currentColor; border-right-color: currentColor; @apply animate-spin; + @apply inline-block; + @apply align-middle; } .button.is-block {