Skip to content

Commit

Permalink
Merge pull request Counselllor#660 from PranjaliBhardwaj/master
Browse files Browse the repository at this point in the history
[FIXED UI]: UI of Templates are improved of College Cards.
  • Loading branch information
thestarsahil authored Jun 16, 2024
2 parents 6cf5e2e + 898cef5 commit 00782d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions src/components/CollegePage/CollegePage.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,26 @@ margin-bottom: 0px;
display: flex;
margin-left: 0px;
height: 50% !important;
width: 50vw;
width: 40vw;
object-fit: cover;
margin-bottom: 0px !important;
position: absolute;
bottom: 0px;
margin-left: 5vw;
}



.search-button {
background-color: rgb(23, 23, 70);
z-index: 100 !important;
color: white;
padding: 10px;
border-radius: 6px;
margin-top: -200px;
margin-left: 32vw;
margin-left: 30px;
height: 50px;
width: 150px;
margin-top: 15px;
}
.right{
display: flex;
Expand Down Expand Up @@ -310,4 +313,4 @@ margin-bottom: 0px;
height: 50%;
justify-content: start !important;
}
}
}
2 changes: 1 addition & 1 deletion src/components/CollegePage/CollegePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ const CollegePage = () => {
<p className="rating-text abeezee-regular" >{college.rating}/10</p>
</div>
</div>
<button className="search-button "><a href={college.website} target="_blank" rel="noreferrer">Search</a></button>
</div>
</div>
<img className="image" src={college.imageURL} />
</div>
<button className="search-button "><a href={college.website} target="_blank" rel="noreferrer">Search</a></button>
</div>
<div className="right">
<div className="searchCourses" style={{marginTop:"20px"}}>
Expand Down

0 comments on commit 00782d7

Please sign in to comment.