1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-12 02:07:26 +01:00

clicking avatar takes you to your profile

This commit is contained in:
Nolan Lawson 2018-04-02 17:53:04 -07:00
parent 7988222086
commit 3458c353e4

View File

@ -1,4 +1,7 @@
<Avatar account="{{verifyCredentials}}" className="compose-box-avatar" size="small"/>
<a href="/accounts/{{verifyCredentials.id}}"
class="compose-box-avatar">
<Avatar account="{{verifyCredentials}}" size="small"/>
</a>
<a class="compose-box-display-name" href="/accounts/{{verifyCredentials.id}}">
{{verifyCredentials.display_name || verifyCredentials.acct}}
</a>
@ -6,7 +9,7 @@
{{'@' + verifyCredentials.acct}}
</span>
<style>
:global(.compose-box-avatar) {
.compose-box-avatar {
grid-area: avatar;
margin-right: 15px;
}
@ -38,7 +41,7 @@
}
@media (max-width: 767px) {
:global(.compose-box-avatar) {
.compose-box-avatar {
grid-area: avatar;
margin-right: 5px;
}