forked from cory/tildefriends
ssb: Don't stretch profile images when fitting into a circle. I swear I did this ages ago.
This commit is contained in:
parent
37401409c6
commit
e1f4f7f95b
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🐌",
|
"emoji": "🐌",
|
||||||
"previous": "&O7Rf3apWJhDC4Zfjo1a5ZRk6AMNeCmFuEIiczXwmSYE=.sha256"
|
"previous": "&qj4BgD3cfrySqxq6BbQm6u58ic20XYileUiiAXcJtLs=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ class TfUserElement extends LitElement {
|
|||||||
if (image_link !== undefined) {
|
if (image_link !== undefined) {
|
||||||
image = html`<img
|
image = html`<img
|
||||||
class="w3-circle"
|
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"
|
src="/${image_link}/view"
|
||||||
/>`;
|
/>`;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user