Skip to content

Commit

Permalink
Fix card flickering on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsansheikh94 committed Aug 25, 2024
1 parent 8efe6a8 commit c643f45
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Profile/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ function Card({ data }) {
<FaLocationDot />
{data.location}
</p>
<div
className="skills-container mt-4 flex h-auto gap-4 overflow-hidden hover:overflow-x-scroll hover:scroll-smooth"
ref={cardRef}
>
<div className="skills-container mt-4 flex h-auto gap-4 overflow-auto scroll-smooth" ref={cardRef}>
{data.skills &&
data.skills.map((skill, index) => {
return (
Expand Down

0 comments on commit c643f45

Please sign in to comment.