Skip to content

Commit

Permalink
Add more resources fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rumenpetrov committed Sep 5, 2024
1 parent 1b0ae36 commit a1c5a1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/challenge-contributions/7/rpetrov.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
.card picture {
position: relative;
display: block;
max-width: 100%;
aspect-ratio: 4 / 3;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -129,6 +128,7 @@
grid-template-rows: auto;
}
.card picture {
max-width: 100%;
min-height: 100%;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/content/challenges/7.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ import Section from '@src/components/Section.astro';

<Section>
#### Resources
* [object-fit scale-down MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#scale-down)
* [object-fit MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)
* [aspect-ratio MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio)
* [Free images](https://unsplash.com/)
* [Placeholder images](https://placehold.co/)
</Section>
Expand Down

0 comments on commit a1c5a1a

Please sign in to comment.