diff options
author | Louis Chemineau <louis@chmn.me> | 2023-04-06 16:09:50 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-04-06 16:16:39 +0200 |
commit | aea7cebcbe9c8c66533a6f66fc3993745b13e30b (patch) | |
tree | 23fdbdb1dd56b6a91a53c6111eaa598f1b65cb30 /src | |
parent | 9aaa59f22a6751d990a621917d4088669c5927fa (diff) |
Display note in user profile
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ProfileInfo.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/ProfileInfo.vue b/src/components/ProfileInfo.vue index fecc1a6a..60dd291a 100644 --- a/src/components/ProfileInfo.vue +++ b/src/components/ProfileInfo.vue @@ -57,6 +57,9 @@ {{ t('social', 'Website') }}: <a :href="website.value">{{ website.value }}<OpenInNew :size="15" /></a> </p> + <!-- Hack to render note safely --> + <MessageContent v-if="accountInfo.note" class="user-profile__note" :item="{content: accountInfo.note, tag: [], mentions: []}" /> + <FollowButton class="user-profile__info" :account="accountInfo.acct" :uid="uid" /> <NcButton v-if="serverData.public" class="user-profile__info primary" @@ -158,6 +161,10 @@ export default { } + &__note { + text-align: start; + } + &__sections { display: flex; |