ssb: Don't stretch profile images when fitting into a circle. I swear I did this ages ago.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m23s

This commit is contained in:
Cory McWilliams 2024-10-10 21:41:34 -04:00
parent 37401409c6
commit e1f4f7f95b
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&O7Rf3apWJhDC4Zfjo1a5ZRk6AMNeCmFuEIiczXwmSYE=.sha256"
"previous": "&qj4BgD3cfrySqxq6BbQm6u58ic20XYileUiiAXcJtLs=.sha256"
}

View File

@ -37,7 +37,7 @@ class TfUserElement extends LitElement {
if (image_link !== undefined) {
image = html`<img
class="w3-circle"
style="width: 2em; height: 2em; vertical-align: middle"
style="width: 2em; height: 2em; vertical-align: middle; object-fit: cover"
src="/${image_link}/view"
/>`;
}