Make tweet profile pics clickable

This commit is contained in:
Zed 2019-06-26 21:55:04 +02:00
parent 547cd635bf
commit a801b01142
2 changed files with 7 additions and 1 deletions

View File

@ -277,6 +277,10 @@ nav {
border-radius: 50%;
}
.tweet-avatar {
display: contents !important;
}
.retweet, .pinned, .tweet-stats {
align-content: center;
color: hsla(240,1%,73%,.7);

View File

@ -15,7 +15,9 @@
#end if
<div class="media-heading">
<div class="heading-name-row">
<a class="tweet-avatar" href="/${tweet.profile.username}">
${genImg(tweet.profile.getUserpic("_bigger"), "avatar")}
</a>
<div class="fullname-and-username">
${linkUser(tweet.profile, class="fullname")}
${linkUser(tweet.profile, class="username")}