Skip to content

Commit

Permalink
Merge pull request #2510 from matrix-org/MTRNord/fix-footer-layout-shift
Browse files Browse the repository at this point in the history
Set width and height on the images in the footer to reduce the layout shift
  • Loading branch information
MTRNord authored Oct 10, 2024
2 parents 03c80a5 + 99d4f31 commit ef00969
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<div class="external-links">
<div>
{% for link in navigation.footer_external %}
<a href="{{ link.href }}" rel="me"><img src="/assets/{{ link.image }}" alt="{{ link.alt }}"></a>
<a href="{{ link.href }}" rel="me"><img width="24px" height="24px" src="/assets/{{ link.image }}"
alt="{{ link.alt }}"></a>
{% endfor %}
</div>
</div>
Expand Down

0 comments on commit ef00969

Please sign in to comment.