Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
fix dark mode colors, check todo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Sep 5, 2021
1 parent 4d6b41f commit e53716e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -24,7 +24,7 @@
- [x] File permalink copy and direct file download
- [x] Dark mode
- [x] Protected routes (password protection and authentication) through `.password` files
- [ ] Pagination for folders with more than 200 items
- [x] Pagination for folders with more than 200 items

## Discussion

Expand Down
4 changes: 2 additions & 2 deletions components/FileListing.tsx
Expand Up @@ -283,12 +283,12 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) =

{!onlyOnePage && (
<div>
<div className="p-3 font-mono text-sm text-center text-gray-400 border-b">
<div className="dark:border-gray-700 p-3 font-mono text-sm text-center text-gray-400 border-b border-gray-200">
- showing {size} page{size > 1 ? 's' : ''} of {isLoadingMore ? '...' : children.length} files -
</div>
<button
className={`flex items-center justify-center w-full p-3 space-x-2 ${
isLoadingMore || isReachingEnd ? 'opacity-60' : 'hover:bg-gray-100'
isLoadingMore || isReachingEnd ? 'opacity-60' : 'hover:bg-gray-100 dark:hover:bg-gray-850'
}`}
onClick={() => setSize(size + 1)}
disabled={isLoadingMore || isReachingEnd}
Expand Down

1 comment on commit e53716e

@vercel
Copy link

@vercel vercel bot commented on e53716e Sep 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.