Revert "feat: crop images before optimizing them to ensure proper aspect ratio"
This reverts commit 605baf5836
.
This commit is contained in:
parent
43c8beebed
commit
84e5c844f5
4 changed files with 28 additions and 94 deletions
|
@ -8,7 +8,7 @@
|
|||
<div class="avatar__wrapper flex--centered">
|
||||
{% capture authorAlt %}{{ mention.author.name | escape }}{% endcapture %}
|
||||
{% capture fallbackIcon %}{% tablericon "user" authorAlt %}{% endcapture %}
|
||||
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'square', fallbackIcon %}
|
||||
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'rounded', fallbackIcon %}
|
||||
</div>
|
||||
</a>
|
||||
<div class="comment">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<div class="avatar__wrapper flex--centered">
|
||||
{% capture authorAlt %}{{ mention.author.name | escape }}{% endcapture %}
|
||||
{% capture fallbackIcon %}{% tablericon "user" authorAlt %}{% endcapture %}
|
||||
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'square', fallbackIcon %}
|
||||
{% image mention.author.photo, authorAlt, 'avatar__image', 'lazy', 'rounded', fallbackIcon %}
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
Reference in a new issue