Skip to content

Commit

Permalink
changed code
Browse files Browse the repository at this point in the history
  • Loading branch information
Arshia-163 committed Nov 2, 2024
1 parent fed7d96 commit a653c72
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions styles/view.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,45 +88,3 @@ 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 */
width: 90%;
}

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

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

.quick-view-btn, .close {
font-size: 20px;
}

.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 a653c72

Please sign in to comment.