Skip to content

Commit

Permalink
projectheading color fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu1345 committed Oct 30, 2024
1 parent 076eab8 commit ead92de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Pages/AboutUs/components/projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Projects = (props) => {
handleClick(index);
onMouseEnter(index);
}}
className={clickedIndex === index ? style.whiteText : ""}
className={clickedIndex === index ? style.whiteText : style.grayText}
>
{title[index]}
</p>
Expand Down
6 changes: 5 additions & 1 deletion src/Pages/AboutUs/components/projects.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,24 @@
margin-left: 75px;
cursor: pointer;
}
.grayText{
color: gray;
}
.projectHeading p{
font-size: 2.5rem;
margin-top: 31px;
margin-left: 32px;
/* color: gray; */

}
.projectHeading p:active{
color: white;
}
.projectHeading p:hover{

color: white;
}
.whiteText{
/* color: red; */
color: white;
}
.projecth{
Expand Down

0 comments on commit ead92de

Please sign in to comment.