summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-08 11:20:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-08 11:20:50 +0900
commit24766fb79eb81d7828b1f93e2d4f923b46762bd5 (patch)
tree1865f700f2d55c0134a63d962d318c61f2744597
parentUpdate apexcharts requirement from 2.1.9 to 2.2.0 (#3152) (diff)
downloadsharkey-24766fb79eb81d7828b1f93e2d4f923b46762bd5.tar.gz
sharkey-24766fb79eb81d7828b1f93e2d4f923b46762bd5.tar.bz2
sharkey-24766fb79eb81d7828b1f93e2d4f923b46762bd5.zip
:art:
-rw-r--r--src/client/app/desktop/views/components/users-list.item.vue9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/users-list.item.vue b/src/client/app/desktop/views/components/users-list.item.vue
index f42d577fce..66a002c708 100644
--- a/src/client/app/desktop/views/components/users-list.item.vue
+++ b/src/client/app/desktop/views/components/users-list.item.vue
@@ -2,6 +2,7 @@
<div class="zvdbznxvfixtmujpsigoccczftvpiwqh">
<div class="banner" :style="bannerStyle"></div>
<mk-avatar class="avatar" :user="user" :disable-preview="true"/>
+ <mk-follow-button :user="user" class="follow"/>
<div class="body">
<router-link :to="user | userPage" class="name">{{ user | userName }}</router-link>
<span class="username">@{{ user | acct }}</span>
@@ -9,7 +10,6 @@
<misskey-flavored-markdown v-if="user.description" :text="user.description" :i="$store.state.i"/>
</div>
<p class="followed" v-if="user.isFollowed">%i18n:@followed%</p>
- <mk-follow-button :user="user" :size="'big'"/>
</div>
</div>
</template>
@@ -57,6 +57,11 @@ export default Vue.extend({
border-radius 100%
border solid 4px $bg
+ > .follow
+ position absolute
+ top 16px
+ right 16px
+
> .body
padding 4px 32px 32px 32px
@@ -75,7 +80,7 @@ export default Vue.extend({
margin 16px 0
> .followed
- margin 0 0 16px 0
+ margin 0
padding 0
line-height 24px
font-size 0.8em