Skip to content

Commit

Permalink
Fix contributor avatar sizing
Browse files Browse the repository at this point in the history
We added a global `height: auto` reset since then, which makes the browser ignore the size attributes on the img elements
  • Loading branch information
lukasbestle committed Dec 7, 2024
1 parent af0d469 commit b8f218a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion site/snippets/templates/release-36/stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
] as $contributor): ?>
<li class="inline-flex p-1">
<a href="https://github.com/<?= $contributor ?>" class="p-3 text-sm font-mono shadow bg-white rounded flex items-center">
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: auto" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: 32px" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
</a>
</li>
<?php endforeach ?>
Expand Down
2 changes: 1 addition & 1 deletion site/snippets/templates/release-37/contributors.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
] as $contributor): ?>
<li class="inline-flex p-1">
<a href="https://github.com/<?= $contributor ?>" class="p-3 text-sm font-mono shadow bg-white rounded flex items-center">
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: auto" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: 32px" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
</a>
</li>
<?php endforeach ?>
Expand Down
2 changes: 1 addition & 1 deletion site/snippets/templates/release-38/contributors.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
] as $contributor): ?>
<li class="inline-flex p-1">
<a href="https://github.com/<?= $contributor ?>" class="p-3 text-sm font-mono shadow bg-white rounded flex items-center">
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: auto" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: 32px" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
</a>
</li>
<?php endforeach ?>
Expand Down
2 changes: 1 addition & 1 deletion site/snippets/templates/release-39/contributors.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
] as $contributor): ?>
<li class="inline-flex p-1">
<a href="https://github.com/<?= $contributor ?>" class="p-3 text-sm font-mono shadow bg-white rounded flex items-center">
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: auto" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
<img alt="" src="https://github.com/<?= $contributor ?>.png?size=64" style="border-radius: 100%; width: 32px" class="mr-3" width="32" height="32" loading="lazy"> @<?= $contributor ?>
</a>
</li>
<?php endforeach ?>
Expand Down

0 comments on commit b8f218a

Please sign in to comment.