Skip to content

Commit

Permalink
fix portfolio card skeleton styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaish committed May 31, 2024
1 parent 76f14c8 commit 5caa903
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components-features/portfolio/PortfolioCardSkeleton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
CardFooter,
CardHeader,
Stack,
Text,
useColorModeValue
} from '@chakra-ui/react';
import Skeleton from 'react-loading-skeleton';
Expand All @@ -23,6 +24,13 @@ export default function PortfolioCardSkeleton() {
maxW="md"
>
<CardHeader>
{/* This component is needed to make sure the card's width is as wide as
it can get. If this wasn't here, the card would be very small and not
look normal. */}
<Text h={0} opacity={0}>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
</Text>

<Skeleton
baseColor={baseColor}
highlightColor={highlightColor}
Expand Down

0 comments on commit 5caa903

Please sign in to comment.