Skip to content

Commit

Permalink
Merge pull request #1088 from Arshia-163/issue_1063
Browse files Browse the repository at this point in the history
Solved Issue #1063
  • Loading branch information
DharshiBalasubramaniyam authored Nov 6, 2024
2 parents bef2e8b + 71a0106 commit fd5f05c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions styles/view.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,44 @@ body {
color: white;
background-color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.modal-content {
flex-direction: column; /* Stack content vertically on smaller screens */
}

.modal-right h2 {
font-size: 20px; /* Adjust heading size for mobile */
}

.modal-right p, .modal-right .price {
font-size: 16px; /* Adjust text size for readability */
}

.quick-view-btn, .close {
font-size: 20px; /* Adjust button size */
}

.modal {
padding: 10px; /* Add padding around the modal for smaller screens */
}
}

@media (max-width: 480px) {
.modal-content {
width: 95%; /* Further reduce modal width for very small screens */
}

.close {
font-size: 24px; /* Smaller close button */
}

.modal-right h2 {
font-size: 18px;
}

.modal-right p, .modal-right .price {
font-size: 14px;
}
}

0 comments on commit fd5f05c

Please sign in to comment.