Skip to content

Commit ef00969

Browse files
authored
Merge pull request #2510 from matrix-org/MTRNord/fix-footer-layout-shift
Set width and height on the images in the footer to reduce the layout shift
2 parents 03c80a5 + 99d4f31 commit ef00969

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/includes/footer.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<div class="external-links">
88
<div>
99
{% for link in navigation.footer_external %}
10-
<a href="{{ link.href }}" rel="me"><img src="/assets/{{ link.image }}" alt="{{ link.alt }}"></a>
10+
<a href="{{ link.href }}" rel="me"><img width="24px" height="24px" src="/assets/{{ link.image }}"
11+
alt="{{ link.alt }}"></a>
1112
{% endfor %}
1213
</div>
1314
</div>

0 commit comments

Comments
 (0)