Skip to content

Commit

Permalink
Merge pull request #3009 from HimanshuNarware/ui-issue_1
Browse files Browse the repository at this point in the history
fix faq section class bug
  • Loading branch information
HimanshuNarware authored Sep 15, 2024
2 parents 85a8e29 + 67159b0 commit a644ce6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Component/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function About() {
<div className="about__box about__box--2 aos-init" data-aos="flip-left">
<img
className="about__img"
src="https://civicopilot.com/wp-content/uploads/2022/11/searching_training.svg"
src="https://img.freepik.com/free-vector/illustrated-woman-being-intern-company_23-2148726151.jpg?size=626&ext=jpg"
alt="img"
/>
</div>
Expand All @@ -98,7 +98,7 @@ function About() {
<div className="about__box about__box--2">
<img
className="about__img"
src="https://media.istockphoto.com/id/1276643671/vector/tiny-programmers-programming-website-for-internet-platform.jpg?s=612x612&w=0&k=20&c=7k24K8DYdSRxVHj3roqR_f4wkk-a_fG3WlT4hN-VJUg="
src="https://img.freepik.com/free-vector/developer-activity-concept-illustration_114360-1554.jpg?t=st=1726407511~exp=1726411111~hmac=f2dbc71c1557c1284496c3bb3d243d58894cd840fad5b42c528679d5fb57d2c4&w=740"
alt="img"
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/Component/Faq.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ export default function Faq() {
>
<AccordionItemHeading>
<AccordionItemButton className="faq__accordion-item">
<AccordionItemState>
{/* <AccordionItemState>
{({ expanded }) =>
expanded
? setClassName("expanded")
: setClassName("collapsed")
}
</AccordionItemState>
</AccordionItemState> */}
<div
className="faq__accordion-button"
onClick={() => setIndex(i)}
Expand Down
18 changes: 17 additions & 1 deletion frontend/src/style/About.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

.about__contributor-container {
gap: 5%;
margin: 40px;
/* margin: 40px; */
font-size: 2rem;
margin-top: 6rem;
width: 100%;
/* overflow: hidden; */
}
.about__founder-container,
.about__buttons-container {
Expand Down Expand Up @@ -522,3 +524,17 @@
flex-wrap: wrap;
gap: 0.5rem;
}

.about__img{
/* width: calc(100 - 90)px!important;
height: inherit; */
/* border-radius: 5px !important; */
border-radius: 5px;
object-fit:scale-down;
/* height: 188%; */
/* fill-opacity: blur(10px);
*/
/* overflow: hidden !important; */
/* overflow: hidden; */

}

0 comments on commit a644ce6

Please sign in to comment.