add photo

pull/1284/head
xiang578 2023-03-25 16:43:53 +08:00
parent 0cf28deb4a
commit 8165f1cc06
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Profile extends Component {
<div class="level-item has-text-centered flex-shrink-1">
<div>
<figure class="image is-128x128 mx-auto mb-2">
<img class={'avatar' + (avatarRounded ? ' is-rounded' : '')} src={avatar} alt={author} />
<img class={'u-photo avatar' + (avatarRounded ? ' is-rounded' : '')} src={avatar} alt={author} />
</figure>
{author ? <p class="title is-size-4 is-block" style={{'line-height': 'inherit'}}>{author}</p> : null}
{authorTitle ? <p class="is-size-6 is-block">{authorTitle}</p> : null}