Skip to content

Commit

Permalink
Add min height and remove unneeded css
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKiwi committed Jan 16, 2024
1 parent f49db3b commit 7339227
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Why.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@
}

.why-image {
display: none;
width: 100%;
border-radius: 2.4rem;
max-height: 40rem;
min-height: 10rem;
object-fit: cover;
object-position: top;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Why.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Why = () => {
community, including over 250+ anime artists!
</p>
<div className="why-image-container">
<img className="why-image" src={uwu2} alt="uwu" />
<img className="why-image" src={uwu2} alt="uwu" loading="eager" />
<a
href={`https://twitter.com/${imageCredits[1]}`}
target="_blank"
Expand All @@ -85,7 +85,7 @@ const Why = () => {
create a culture that values creativity, together~
</p>
<div className="why-image-container">
<img className="why-image" src={uwu3} alt="uwu" />
<img className="why-image" src={uwu3} alt="uwu" loading="eager" />
<a
href={`https://twitter.com/${imageCredits[2]}`}
target="_blank"
Expand Down

0 comments on commit 7339227

Please sign in to comment.