Skip to content

Commit fc30b5f

Browse files
committed
fixed width issue with skeleton screen
1 parent 8ed6153 commit fc30b5f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/Countries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import React from "react";
55
import Card from "./Card";
66

77
//utils
8-
import { SkeletonCard } from "./Skeleton";
8+
import { SkeletonCard } from "./helpers/Skeleton";
99
import { FaArrowUp } from "react-icons/fa";
1010

1111
//animation

components/helpers/AnimationVariants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const cardVariants = {
2424
y: "0",
2525
scale: 1,
2626
transition: {
27-
duration: 0.2,
27+
duration: 0.6,
2828
},
2929
},
3030
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const SkeletonCard = () => {
22
return (
33
<>
4-
<div className="w-80 mx-auto sm:w-full mt-7 animate-pulse justify-center space-x-1 rounded-md border mb-10 sm:mb-0 pb-6 ">
4+
<div className="w-72 mx-auto sm:w-full mt-7 animate-pulse justify-center space-x-1 rounded-md border mb-10 sm:mb-0 pb-6 ">
55
<div className="w-full">
66
<div className="w-full h-48 bg-skin-skeleton"></div>
77
<div>

0 commit comments

Comments
 (0)