Skip to content

Commit

Permalink
Merge pull request #460 from vaibhav-yerkar/issue-413
Browse files Browse the repository at this point in the history
UI Responsiveness for Review Section and Recommendation Section
  • Loading branch information
PriyaGhosal authored Oct 11, 2024
2 parents 1ff254a + 21d01ea commit 89e83ea
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 26 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,9 @@ justify-content: center;
.reviews-list {
grid-template-columns: 1fr;
}

.form-button button{
width:100%;
}
.reviews-title {
font-size: 2em;
}
Expand All @@ -1152,13 +1154,27 @@ justify-content: center;
max-width: 400px;
margin: 0 auto;
}
.review-form{
width:60vw;
}
.form{
width: 50vw;
}
}

@media (max-width: 480px) {
.reviews-container {
padding: 20px 10px;
}

.review-form{
width:80vw;
}
.form{
width:70vw;
}
.form-button button{
width:100%
}
.review-header {
flex-direction: column;
text-align: center;
Expand Down Expand Up @@ -1601,6 +1617,14 @@ justify-content: center;
.recommendation-item button:hover {
background-color: #003d80; /* Darker blue on hover */
}
@media (max-width: 768px) {
.recommendation-list{
flex-direction: column;
}
.recommendation-item{
max-width: 100%;
}
}
/* Positioning and Styling for Google Translate Button */
.translate-container {
position: fixed;
Expand Down

0 comments on commit 89e83ea

Please sign in to comment.