Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fixing formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
btabaska committed Aug 8, 2024
1 parent efa7831 commit 7f2ca9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 1 addition & 3 deletions frontend/src/components/search/SearchPagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ export default function SearchPagination({
};

return (
<div
className={`grants-pagination ${loading ? 'disabled' : ''}`}
>
<div className={`grants-pagination ${loading ? "disabled" : ""}`}>
<Pagination
pathname="/search"
totalPages={pages}
Expand Down
9 changes: 4 additions & 5 deletions frontend/src/styles/_loading.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ $spinner-size: units(4);
.grants-pagination.disabled {
opacity: 0.5;
cursor: not-allowed;
& > *, & * {
user-select:none;
pointer-events:none;
& > *,
& * {
user-select: none;
pointer-events: none;
}
}


0 comments on commit 7f2ca9c

Please sign in to comment.