Skip to content

Commit

Permalink
style responsive loader
Browse files Browse the repository at this point in the history
  • Loading branch information
amolsasane committed Jul 23, 2024
1 parent 012197e commit 735d4f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Loader = () => {
className="flex items-center space-x-2"
>
<svg
className="h-20 w-20 animate-spin stroke-gray-500"
className="h-10 w-10 lg:h-20 lg:w-20 animate-spin stroke-gray-500"
viewBox="0 0 256 256"
>
<line
Expand Down Expand Up @@ -84,7 +84,9 @@ const Loader = () => {
strokeWidth="24"
></line>
</svg>
<span className="text-4xl font-medium text-gray-500">Loading...</span>
<span className="text-2xl lg:text-4xl font-medium text-gray-500">
Loading...
</span>
</div>
);
};
Expand Down

0 comments on commit 735d4f5

Please sign in to comment.