Skip to content

Commit

Permalink
fix: aboutCard skill issue :(
Browse files Browse the repository at this point in the history
  • Loading branch information
bhoopesh369 committed Dec 13, 2023
1 parent b270a93 commit 89dc297
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/AboutCard/AboutCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ const AboutCard: React.FC<AboutCardProps> = ({ cardRef }) => {
const content1 = AboutContent.content1;
const content2 = AboutContent.content2;
return (
<div className="AboutCard max-lg:hidden h-fit sm:w-[85%] sm:h-[70%] md:w-[50rem] md:h-[60%] flex justify-center items-center pt-20 p-11 ">
<p ref={cardRef} className="font-Nunito text-xl h-[90%] w-[88.5%] overflow-auto p-1">
<div className="AboutCard max-lg:hidden h-fit sm:w-[85%] sm:h-[70%] md:w-[50rem] md:h-[60%] md:max-h-96 flex justify-center items-center pt-20 p-11">
<p
ref={cardRef}
className="font-Nunito text-xl h-[90%] w-[85%] overflow-auto p-1 text-justify"
>
{content}
<br />
<br />
Expand Down

0 comments on commit 89dc297

Please sign in to comment.