Improve formatting

This commit is contained in:
2023-04-11 16:02:54 +02:00
parent 268128c2f4
commit 6c9546b74a
22 changed files with 280 additions and 279 deletions

View File

@ -3,18 +3,18 @@
export let account: Account;
let avatarDescription: string;
$: avatarDescription = `Avatar for ${account.acct}`
$: avatarDescription = `Avatar for ${account.acct}`;
</script>
<img src="{account.avatar}" alt={avatarDescription}/>
<img src={account.avatar} alt={avatarDescription} />
<style>
img {
max-width: 50px;
max-height: 50px;
width: auto;
height: auto;
object-fit: contain;
border-radius: 3px;;
}
</style>
img {
max-width: 50px;
max-height: 50px;
width: auto;
height: auto;
object-fit: contain;
border-radius: 3px;
}
</style>