Skip to content

Commit

Permalink
Update team.module.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
mathclub-ucdavis authored Aug 3, 2024
1 parent 8f91476 commit 03b6edc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/styles/pages/team.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.photo {
position: relative;
width: 100%;
height: 250px; /* This can be adjusted as needed /
height: 250px; /* This can be adjusted as needed */
overflow: hidden;

img {
Expand All @@ -45,8 +45,8 @@
left: 0;
width: 100%;
height: 100%;
object-fit: cover; / This ensures the image covers the container without stretching /
object-position: center; / Center the image in the container */
object-fit: cover; /* This ensures the image covers the container without stretching */
object-position: center; /* Center the image in the container */
}
}

Expand Down

0 comments on commit 03b6edc

Please sign in to comment.