1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-03 09:18:58 +09:00
This commit is contained in:
syuilo 2018-11-08 11:20:50 +09:00
parent 300d3da6ff
commit 24766fb79e
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -2,6 +2,7 @@
<div class="zvdbznxvfixtmujpsigoccczftvpiwqh"> <div class="zvdbznxvfixtmujpsigoccczftvpiwqh">
<div class="banner" :style="bannerStyle"></div> <div class="banner" :style="bannerStyle"></div>
<mk-avatar class="avatar" :user="user" :disable-preview="true"/> <mk-avatar class="avatar" :user="user" :disable-preview="true"/>
<mk-follow-button :user="user" class="follow"/>
<div class="body"> <div class="body">
<router-link :to="user | userPage" class="name">{{ user | userName }}</router-link> <router-link :to="user | userPage" class="name">{{ user | userName }}</router-link>
<span class="username">@{{ user | acct }}</span> <span class="username">@{{ user | acct }}</span>
@ -9,7 +10,6 @@
<misskey-flavored-markdown v-if="user.description" :text="user.description" :i="$store.state.i"/> <misskey-flavored-markdown v-if="user.description" :text="user.description" :i="$store.state.i"/>
</div> </div>
<p class="followed" v-if="user.isFollowed">%i18n:@followed%</p> <p class="followed" v-if="user.isFollowed">%i18n:@followed%</p>
<mk-follow-button :user="user" :size="'big'"/>
</div> </div>
</div> </div>
</template> </template>
@ -57,6 +57,11 @@ export default Vue.extend({
border-radius 100% border-radius 100%
border solid 4px $bg border solid 4px $bg
> .follow
position absolute
top 16px
right 16px
> .body > .body
padding 4px 32px 32px 32px padding 4px 32px 32px 32px
@ -75,7 +80,7 @@ export default Vue.extend({
margin 16px 0 margin 16px 0
> .followed > .followed
margin 0 0 16px 0 margin 0
padding 0 padding 0
line-height 24px line-height 24px
font-size 0.8em font-size 0.8em