Skip to content

Commit

Permalink
view projects popup fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
anisharma07 committed Jun 10, 2024
1 parent 6b57df8 commit 6bebe9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,10 @@ section {
/* Style for the Swiper slides */
.swiper-slide img {
width: 100%;
object-fit: contain; /* This will make sure the image retains its aspect ratio */
max-height: 60vh; /* This will make sure the image fits within the viewport */
object-fit: contain;
max-height: 60vh;
}

/* Style for the Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
height: 5px;
Expand Down

0 comments on commit 6bebe9e

Please sign in to comment.