Tiny tweaks for weeks

This commit is contained in:
James Morris 2022-07-05 15:41:50 +01:00
parent 68b7fe2e6b
commit ce54fb4e36
2 changed files with 4 additions and 4 deletions

View File

@ -48,12 +48,12 @@ class CommentsBox extends React.Component {
return (
<section className={containerClass}>
{/* <div className="flex justify-between items-end mb-10">
{/* <div className="flex justify-between items-end mb-6">
<h1 className="text-2xl font-sans font-bold tracking-tight dark:text-neutral-300">Members discussion</h1>
<TotalComments />
</div> */}
<Pagination />
<div>
<div className="mt-6">
{comments}
</div>
<div>

View File

@ -29,8 +29,8 @@ class Pagination extends React.Component {
}
return (
<button className="w-full rounded-md border p-3 mb-6 font-sans text-sm text-center dark:border-neutral-500 dark:text-white" onClick={this.loadMore}>
View {left} previous comments
<button className="w-full rounded-md border p-3 font-sans text-sm text-center dark:border-neutral-500 dark:text-white" onClick={this.loadMore}>
Show {left} previous comments
</button>
);
}