Skip to content

Commit

Permalink
💄 UI - Fix Events Page (#2354)
Browse files Browse the repository at this point in the history
* made button the small variant

* fixed text centering in footer

* made loading more text smaller, centred loading spinner

* fixed size of spinner padding
  • Loading branch information
Harry-Ross authored Mar 22, 2024
1 parent 2f8503b commit 88f4735
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/filter/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,11 @@ const LoadMore = ({ load, isLoading }: LoadMoreProps) => {
<UtilityButton
onClick={() => !isLoading && load()}
buttonText="Load More"
size="small"
className="!mt-0"
/>
{isLoading && (
<p className="flex flex-row pt-6 text-xl">
<p className="flex flex-row items-center pt-3 text-base">
<FaSpinner className="m-icon animate-spin" /> Loading more...
</p>
)}
Expand Down
2 changes: 1 addition & 1 deletion components/layout/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const CopyrightInfo = () => {
<div>
&copy; 1990-{new Date().getFullYear()} SSW. All rights reserved.
</div>
<div>
<div className="text-center">
<CustomLink href={chooseIssueURL}>FEEDBACK TO SSW</CustomLink>
<Divider />
<CustomLink href="/terms-and-conditions">
Expand Down

0 comments on commit 88f4735

Please sign in to comment.