Skip to content

Commit

Permalink
Remove unnecessary sizing scss
Browse files Browse the repository at this point in the history
The width and height can just be set on the elements themselves.
  • Loading branch information
TrialDragon committed Mar 5, 2024
1 parent aaf950a commit 7ad2c56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
3 changes: 0 additions & 3 deletions sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

&__social {
img {
height: 32px;
width: auto;

&:hover {
scale: 110%;
}
Expand Down
20 changes: 10 additions & 10 deletions templates/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,32 +177,32 @@
<a class="footer__social" href="https://github.com/bevyengine/bevy">
<img src="/assets/github-mark-white.svg"
alt="Bevy engine's GitHub repo"
width="98"
height="96" />
width="32"
height="32" />
</a>
<a class="footer__social" href="https://discord.gg/bevy">
<img src="/assets/discord.svg"
alt="Bevy Discord server"
width="127"
height="96" />
width="32"
height="32" />
</a>
<a class="footer__social" href="https://mastodon.social/@bevy">
<img src="/assets/mastodon-logo-purple.svg"
alt="Bevy Mastodon account"
width="75"
height="79" />
width="32"
height="32" />
</a>
<a class="footer__social" href="https://twitter.com/BevyEngine">
<img src="/assets/twitter.svg"
alt="Bevy Twitter account"
width="512"
height="512" />
width="32"
height="32" />
</a>
<a class="footer__social" href="https://www.reddit.com/r/bevy/">
<img src="/assets/reddit.svg"
alt="Bevy subreddit"
width="512"
height="512" />
width="32"
height="32" />
</a>
<a class="footer__social" href="/atom.xml">
<img src="/assets/feed.svg"
Expand Down

0 comments on commit 7ad2c56

Please sign in to comment.