Skip to content

Commit

Permalink
Merge pull request #102 from SheCodesAus/anya/photo-bug-fix
Browse files Browse the repository at this point in the history
fixed photo distortion bug
  • Loading branch information
awesomeann authored Apr 7, 2024
2 parents 01636c3 + 054591e commit 97e40ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ExperienceCard/ExperienceCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
padding: 1rem 1rem 0;
}

img{
object-fit: cover;
}

@media screen and (min-width: 640px) {
.experience-card-container {
max-width: 290px;
Expand Down
4 changes: 4 additions & 0 deletions src/components/ProfileCards/ProfileCards.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
margin-bottom: 5rem;
}

img{
object-fit: cover;
}

@media screen and (min-width:640px) {
.profile-cards-container {
display: grid;
Expand Down
4 changes: 4 additions & 0 deletions src/components/ProfilePage/ProfilePage.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,7 @@
.experience-contact-info:hover{
text-decoration: underline;
}

img{
object-fit: cover;
}

0 comments on commit 97e40ba

Please sign in to comment.