Skip to content

Commit

Permalink
style: images have pointer-events-none
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Apr 3, 2024
1 parent ae6c6f7 commit 017b073
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const LoadingState = () => {
<img
src="/loading.gif"
alt="loading gif"
className="flex h-16 w-16 justify-center opacity-60"
className="pointer-events-none flex h-16 w-16 justify-center opacity-60"
/>
</div>
<div className="flex justify-center">Loading...</div>
Expand All @@ -77,7 +77,7 @@ const ErrorState = () => {
<img
src="/error.png"
alt="error"
className="flex w-[500px] justify-center"
className="pointer-events-none flex w-[500px] justify-center"
/>
</div>
<div className="flex justify-center">An error occurred...</div>
Expand Down
2 changes: 1 addition & 1 deletion components/search/SearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const SearchResults = (props: SearchResultsProps) => {
<img
src="/no_results.png"
alt="no results"
className="flex w-[500px] justify-center"
className="pointer-events-none flex w-[500px] justify-center"
/>
</div>
<div className="flex w-full flex-col justify-center gap-y-2 text-center">
Expand Down

0 comments on commit 017b073

Please sign in to comment.